/** * Filled validator: has been any checkbox checked? * * @param CheckboxList $control * @return bool */ public static function validateChecked(CheckboxList $control) { return $control->getValue() !== NULL; }