code: def is_number(*p):
      
      try:
          for i in p:
              if i.token != 'NUMBER' and (i.token != 'ID' or i.class_ != CLASS.const):
                  return False
  
          return True
      except:
          pass
  
      return False
docs: Returns True if ALL of the arguments are AST nodes
      containing NUMBER or numeric CONSTANTS