code: def verify(path):
          
          valid = False
          try:
              tf = SingleTifPhasics._get_tif(path)
          except (ValueError, IsADirectoryError):
              pass
          else:
              if (len(tf) == 3 and
                  "61243" in tf.pages[0].tags and
                  "61242" in tf.pages[0].tags and
                  "61238" in tf.pages[0].tags and
                  "61243" in tf.pages[1].tags and
                  "61242" in tf.pages[1].tags and
                  "max_sample_value" in tf.pages[0].tags and
                  (tf.pages[0].tags["61242"].value !=
                   tf.pages[1].tags["61242"].value)):
                  valid = True
          return valid
docs: Verify that `path` is a phasics phase/intensity TIFF file