def is_builtin(text):
 from spyder.py3compat import builtins
 return (text in [str(name) for name in dir(builtins) if (not name.startswith('_'))])

def is_builtin ( text ) : from spyder . py3compat import builtins return ( text in [ str ( name ) for name in dir ( builtins ) if ( not name . startswith ( '_' ) ) ] )
return true if <name> could be considered as a builtin defined by python .