code: def isstring(self, string, *args):
          
          regex = re.compile(r'\'[^\']*\'|"[^"]*"')
          return regex.match(string)
docs: Is string
          args:
              string (str): match
          returns:
              bool