code: def test_rank_func():
      return comm.get().get_rank()
  
imports: import unittest
  import crypten
  import crypten.communicator
  import crypten.mpc
  import torch
  from crypten.config import cfg
label_desc: Use image node_id 1 for calling a global function with example usage: test_rank_func() and returns: comm