code: def verify(path):
          
          valid = False
          try:
              tf = SingleTifHolo._get_tif(path)
          except (ValueError, IsADirectoryError):
              pass
          else:
              if len(tf) == 1:
                  valid = True
          return valid
docs: Verify that `path` is a valid TIFF file