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