def METHOD_NAME(self, field: str, cleaned_data) -> Optional[bool]:
    value = YesNoRadiosField.coerce(cleaned_data.get(field))
    if value is None:
        self.add_dynamically_required_error(field)
    else:
        assert isinstance(value, bool)
    return value