public function hasCondition($strProperty)
    {
        $blnReturn = false;

        foreach ($this->__conditions as $objCondition) {
            if ($objCondition->getProperty() === strtolower($strProperty)) {
                $blnReturn = true;
                break;
            }
        }

        return $blnReturn;
    }
public function hasCondition($strProperty)
    {
        $blnReturn = false;

        foreach ($this->__conditions as $objCondition) {
            if ($objCondition->getProperty() === strtolower($strProperty)) {
                $blnReturn = true;
                break;
            }
        }

        return $blnReturn;
    }
public function hasCondition ( $ strProperty ) { $ blnReturn = false ; foreach ( $ this -> __conditions as $ objCondition ) { if ( $ objCondition -> getProperty ( ) === strtolower ( $ strProperty ) ) { $ blnReturn = true ; break ; } } return $ blnReturn ; }
Check if the current field contains a condition object of a specific type

@param string $strProperty Condition type e.g. `required`, `visibile` and `enabled`
@return boolean True if element has condition object set, false if not
Check if the current field contains a condition object of a specific type