def is_const(*p):
    """ A constant in the program, like CONST a = 5
    """
    return is_SYMBOL('VAR', *p) and all(x.class_ == CLASS.const for x in p)
def is_const ( * p ) : return is_SYMBOL ( 'VAR' , * p ) and all ( x . class_ == CLASS . const for x in p )
A constant in the program, like CONST a = 5