code: def visit_FunctionDef(self, node):
      func = getattr(self.flow, node.name)
      if hasattr(func, "is_step"):
          self.nodes[node.name] = DAGNode(
              node, func.decorators, func.__doc__
          )
  
imports: import inspect
  import ast
  import re
label_desc: Use image node_id 2 for calling the StepVisitor obj's underlying member method code with example usage: obj.visit_FunctionDef(node) without return types