def is_builtin(s):
    'Return True if s is the name of a builtin'
    return hasattr(builtins, s)
Return True if s is the name of a builtin
recipes/Python/578178_Colorize_Pyth_Sourcecode_Syntax/recipe-578178.py