code: def convert_bool(string):
      
      if string == 'True':
          return True, True
      elif string == 'False':
          return True, False
      else:
          return False, False
docs: Check whether string is boolean.