code: def input_is_zero_loss(self, losses):
      if (not torch.is_tensor(losses)) and (losses == 0):
          return True
      return False
  
imports: import torch
  from ..utils import common_functions
  from ..utils.module_with_records import ModuleWithRecords
label_desc: Use image node_id 13 for calling the BaseReducer obj's underlying member method code with example usage: obj.input_is_zero_loss(losses) and returns: False, True