code: def is_probably_builtin(node):
      
      prev = node.prev_sibling
      if prev is not None and prev.type == token.DOT:
          # Attribute lookup.
          return False
      parent = node.parent
      if parent.type in (syms.funcdef, syms.classdef):
          return False
      if parent.type == syms.expr_stmt and parent.children[0] is node:
          # Assignment.
          return False
      if parent.type == syms.parameters or \
              (parent.type == syms.typedargslist and (
              (prev is not None and prev.type == token.COMMA) or
              parent.children[0] is node
              )):
          # The name of an argument.
          return False
      return True
docs: Check that something isn't an attribute or function name etc.