def METHOD_NAME(self, header) -> bool:
    if header.s_state not in [0x1, 0x2]:
        logger.debug("ExtFS header state not valid", state=header.s_state)
        return False
    if header.s_errors not in [0x0, 0x1, 0x2, 0x3]:
        logger.debug(
            "ExtFS header error handling method value not valid",
            errors=header.s_errors,
        )
        return False
    if header.s_creator_os not in [x[0] for x in OS_LIST]:
        logger.debug("Creator OS value not valid.", creator_os=header.s_creator_os)
        return False
    if header.s_rev_level > 2:
        logger.debug(
            "ExtFS header major version too high", rev_level=header.s_rev_level
        )
        return False
    return True