(identifier)
return (
        identifier != '*' and (
            not VALID.match(identifier) or identifier in reserved_keywords))
Return true if a given identifier should be quoted.

    This is usually true when the identifier:

      - is a reserved word
      - contain spaces
      - does not match the regex `[a-zA-Z_]\\w*`
Return true if a given identifier should be quoted.
Return true if a given identifier should be quoted .
def should_quote(identifier):
    """
    Return true if a given identifier should be quoted.

    This is usually true when the identifier:

      - is a reserved word
      - contain spaces
      - does not match the regex `[a-zA-Z_]\\w*`

    """
    return (
        identifier != '*' and (
            not VALID.match(identifier) or identifier in reserved_keywords))
def should_quote ( identifier ) : return ( identifier != '*' and ( not VALID . match ( identifier ) or identifier in reserved_keywords ) )