def METHOD_NAME(d: dict) -> bool:
    tags = d["tags"]
    if "task" not in tags:
        logger.info(f"Skipping cutoff filter for structural ({format_tags(tags)})")
        return True
    vals = d.get("vals")
    if vals is None:
        logger.warning(
            f"Excluding ({format_tags(tags)}) {model_desc}"
            f'because "{filter_field}" is missing. '
        )
        return False
    val = vals.get(filter_field, np.inf)
    if isinstance(val, float):
        x: float = val
    else:
        continuous = Continuous.load(val)
        if continuous is not None:
            x = continuous.mean
        else:
            raise ValueError(f'Cannot filter by "{val}"')
    res = x <= cutoff
    if res is False:
        logger.info(
            f"Excluding ({format_tags(tags)}) {model_desc}"
            f'because "{filter_field}" is larger than {cutoff:f}'
        )
    return res