code: def print(self, message, dst=None, print_func=None):
      if dst is None:
          dst = [0]
      if print_func is None:
          print_func = print
      if self.rank in dst:
          print_func(message)
  
imports: import typing
  import warnings
  from typing import overload
  import torch
  from fate.arch.protocol import mpc
  import logging
label_desc: Use image node_id 10 for calling the MPC obj's underlying member method code with example usage: obj.print(message, dst, print_func) without return types