original_string: public function hasCondition($strProperty)
      {
          $blnReturn = false;
  
          foreach ($this->__conditions as $objCondition) {
              if ($objCondition->getProperty() === strtolower($strProperty)) {
                  $blnReturn = true;
                  break;
              }
          }
  
          return $blnReturn;
      }
code: public function hasCondition($strProperty)
      {
          $blnReturn = false;
  
          foreach ($this->__conditions as $objCondition) {
              if ($objCondition->getProperty() === strtolower($strProperty)) {
                  $blnReturn = true;
                  break;
              }
          }
  
          return $blnReturn;
      }
code_tokens: public function hasCondition ( $ strProperty ) { $ blnReturn = false ; foreach ( $ this -> __conditions as $ objCondition ) { if ( $ objCondition -> getProperty ( ) === strtolower ( $ strProperty ) ) { $ blnReturn = true ; break ; } } return $ blnReturn ; }
docstring: 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
docstring_tokens: Check if the current field contains a condition object of a specific type