<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)