public function isRequired() { return (bool) $this->required; }
/** * Is control mandatory? * @return bool */ public function isRequired() { return $this->rules->isRequired(); }