code: def is_valid(self):
      return np.any(self.substr[:, 2] > 0)
  
file_path: calamari/calamari_ocr/ocr/dataset/textprocessors/text_synchronizer.py
imports: import numpy
label_desc: Use image node_id 4 for calling the Sync obj's underlying member method code with example usage: obj.is_valid() and returns: np