def METHOD_NAME(self):
    try:
        openPMD_version = self.h5.attrs["openPMD"].decode("utf-8")
        if _valid_version(openPMD_version):
            return True
        else:
            raise DataStandardError(
                f"We currently only support HDF5 versions"
                f"starting from v{_OUTDATED_VERSION} and "
                f"lower than v{_NEWER_VERSION}. You can "
                f"however convert your HDF5 to a supported "
                f"version. For more information; see "
                f"https://github.com/openPMD/openPMD-updater"
            )
    except KeyError as ex:
        raise DataStandardError(
            "Input HDF5 file does not go on with standards defined by OpenPMD"
        ) from ex