code: def try_int_or_force_to_lower_case(input_str: str) -> Union[int, str]:
      
      try:
          return int(input_str)
      except ValueError:
          return norm_fold(input_str)
docs: Tries to convert the passed-in string to an integer. If that fails, it converts it to lower case using norm_fold.
      :param input_str: string to convert
      :return: the string as an integer or a lower case version of the string