docstr: Returns value1 if rank == dst, otherwise returns value2.
docstr_tok: ["Returns","value1","if","rank","==","dst",",","otherwise","returns","value2","."]
code: def cond(self, value1, value2, dst):
      """
      Returns value1 if rank == dst, otherwise returns value2.
      """
      return value1 if self.rank == dst else value2
  
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 24 for calling the MPC obj's underlying member method code with example usage: obj.cond(value1, value2, dst) and returns: unknown