def check_token(token, attr_name, config=None, pos=None):
 if ((token is not None) and (not xml_check.check_token(token))):
  return False
 return True

def check_token ( token , attr_name , config = None , pos = None ) : if ( ( token is not None ) and ( not xml_check . check_token ( token ) ) ) : return False return True
make sure that all tokens appears in code in order .