code: def _update_sample_pos_on_local_nodes(
      s: pd.Series, cur_layer_node: List[Node], node_map: dict, sitename
  ):
      on_local_node = _get_sample_on_local_nodes(
          s, cur_layer_node, node_map, sitename
      )
      if not on_local_node:
          return False, -1
      else:
          return True, _update_sample_pos(
              s, cur_layer_node, node_map, sitename
          )
  
imports: import numpy
  import pandas
  from fate.arch import Context
  from fate.arch.dataframe import DataFrame
  from fate.ml.ensemble.learner.decision_tree.tree_core.splitter import SplitInfo
  from typing import List
  import logging
label_desc: Use image node_id 4 for calling a global function with example usage: _update_sample_pos_on_local_nodes(s, cur_layer_node, node_map, sitename) and returns: False,  unknown, True,  _update_sample_pos