code: def is_quoted(arg: str) -> bool:
      
      return len(arg) > 1 and arg[0] == arg[-1] and arg[0] in constants.QUOTES
docs: Checks if a string is quoted
      :param arg: the string being checked for quotes
      :return: True if a string is quoted