code: def convert_string(string):
      
      if is_int(string):
          return int(string)
      elif is_float(string):
          return float(string)
      elif convert_bool(string)[0]:
          return convert_bool(string)[1]
      elif string == 'None':
          return None
      else:
          return string
docs: Convert string to int, float or bool.