(string)
return False
Check that a string is hexadecimal, with alphabetic characters
    in either upper or lower case and without whitespace.

    :param str string: The string to check.
Check that a string is hexadecimal, with alphabetic characters
    in either upper or lower case and without whitespace.
Check that a string is hexadecimal with alphabetic characters in either upper or lower case and without whitespace .
def _is_hex(string):
    """Check that a string is hexadecimal, with alphabetic characters
    in either upper or lower case and without whitespace.

    :param str string: The string to check.
    """
    if HEXADECIMAL.match(string):
        return True
    return False
def _is_hex ( string ) : if HEXADECIMAL . match ( string ) : return True return False