input: Write a python function to reverse words in a string if they contain a specified character.
  assert string_reverse("Hello World!-Abc", "-") == "Hello dlroW!-cbA"
  assert string_reverse("Hello-World how-are you", "-") == "olleH-dlroW woh-era you"
  assert string_reverse("No special characters here", "-") == "No special characters here"
  assert string_reverse("A-B-C-D E-F-G-H", "-") == "A-B-C-D E-F-G-H"
output: def string_reverse(s: str, char: str) -> str:
      def reverse_if_contains(word: str, char: str) -> str:
          return word[::-1] if char in word else word
  
      return ' '.join(reverse_if_contains(word, char) for word in s.split())