src/models/Property.php
public function isRequired()
    {
        $params = $this->params;
        $required = boolval(ArrayHelper::getValue($params, Property::PACKED_ADDITIONAL_RULES . '.required', false));
        return $required;
    }
public function isRequired()
    {
        $params = $this->params;
        $required = boolval(ArrayHelper::getValue($params, Property::PACKED_ADDITIONAL_RULES . '.required', false));
        return $required;
    }
public function isRequired ( ) { $ params = $ this -> params ; $ required = boolval ( ArrayHelper :: getValue ( $ params , Property :: PACKED_ADDITIONAL_RULES . '.required' , false ) ) ; return $ required ; }
check if property required
@return bool
check if property required