@staticmethod<EOL><INDENT>def verify(path):<DEDENT>
valid = False<EOL>try:<EOL><INDENT>h5 = h5py.File(path, mode="<STR_LIT:r>")<EOL>qps = h5["<STR_LIT>"]<EOL>qpi0 = qps["<STR_LIT>"]<EOL><DEDENT>except (OSError, KeyError):<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>if ("<STR_LIT>" in qpi0.attrs and<EOL>"<STR_LIT>" in qpi0 and<EOL>"<STR_LIT>" in qpi0 and<EOL>"<STR_LIT>" in qpi0["<STR_LIT>"] and<EOL>"<STR_LIT>" in qpi0["<STR_LIT>"]):<EOL><INDENT>valid = True<EOL><DEDENT><DEDENT>return valid<EOL>
Verify that `path` has the qpimage series file format