src/Easy/Element/Element.php
public function checkRequired()
    {
        if (!$this->required || $this->required == "")
            return false;
        else if ($this->required == "Y")
            $required = true;
        else if($this->required == "N")
            $required = false;
        else{
            $required = Expression::evaluateExpression($this->required, $this->getFormObj());
            if(strtoupper($required)=='Y')
            {
            	$required=true;
            }
            elseif(strtoupper($required)=='N')
            {
            	
            }
            else
            {            	
            	$required=false;
            }
        }
        return $required;
    }
public function checkRequired()
    {
        if (!$this->required || $this->required == "")
            return false;
        else if ($this->required == "Y")
            $required = true;
        else if($this->required == "N")
            $required = false;
        else{
            $required = Expression::evaluateExpression($this->required, $this->getFormObj());
            if(strtoupper($required)=='Y')
            {
            	$required=true;
            }
            elseif(strtoupper($required)=='N')
            {
            	
            }
            else
            {            	
            	$required=false;
            }
        }
        return $required;
    }
Check if element must required (must have value)

@return boolean