parameters: (x)
return_statement: return x in PRIMITIVE_TYPES
docstring: @return: True if the name is a legal constant type. Only simple types are allowed.
      @rtype: bool
function: def is_valid_constant_type(x):
      """
      @return: True if the name is a legal constant type. Only simple types are allowed.
      @rtype: bool
      """
      return x in PRIMITIVE_TYPES
function_tokens: def is_valid_constant_type ( x ) : return x in PRIMITIVE_TYPES