code: def filter(self, record):
      return self.rank == 0
  
file_path: coremltools/coremltools/optimize/torch/_logging.py
imports: import logging
  import os
label_desc: Use image node_id 2 for calling the RankZeroFilter obj's underlying member method code with example usage: obj.filter(record) and returns: unknown