code: def pre_order_visit(stmt, fvisit):
      """Recursive pre-order visit on stmt AST, applying fvisit on each node.
         If fvisit returns False, it won't visit the children of the node.
  
      Parameters
      ----------
      fvisit: function of the signature Object -> bool
          The visitor function.
      """
      return _ffi_api.PreOrderVisit(stmt, fvisit)
  
imports: from .function import PrimFunc
  from .None import _ffi_api
label_desc: Use image node_id 3 for calling a global function with example usage: pre_order_visit(stmt, fvisit) and returns: _ffi_api