code: def check_entry(key, value):
      if key != "period_label":
          return np.isnan(value) or np.isinf(value)
      else:
          return False
  
imports: import logbook
  import numpy
  from catalyst.constants import LOG_LEVEL
label_desc: Use image node_id 1 for calling a global function with example usage: check_entry(key, value) and returns: unknown, False