code: def print_ground_truth(gt):
      x, y, dy, dgrad, wgrad = gt
      if has_nan(y) or has_nan(dgrad) or has_nan(wgrad):
          print("Error! Ground truth has NAN")
      else:
          print("Ok! No NAN found in ground truth")
  
imports: import unittest
  import torch
  from torch.testing._internal import common_utils
  from apex.transformer.testing.distributed_test_base import NcclDistributedTestBase
label_desc: Use image node_id 10 for calling a global function with example usage: print_ground_truth(gt) without return types