def METHOD_NAME(self, entity: Entity) -> bool:
    """Return whether to include the entity based on the impact."""
    return impact in self._parameter("impact") if (impact := entity["impact"]) else True