parameters: (node)
return_statement: return node.type in (syms.import_name, syms.import_from)
docstring: Returns true if the node is an import statement.
docstring_summary: Returns true if the node is an import statement.
docstring_tokens: Returns true if the node is an import statement .
function: def is_import(node):
      """Returns true if the node is an import statement."""
      return node.type in (syms.import_name, syms.import_from)
function_tokens: def is_import ( node ) : return node . type in ( syms . import_name , syms . import_from )