code: def _transformers_log_filter(record):
      if record.msg.startswith("PyTorch version"):
          return False
      return True
  
imports: import logging
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: _transformers_log_filter(record) and returns: True, False