src/Framework/Form/Fieldset.php
public function hasField($name)
    {
        $result = false;
        foreach ($this->fields as $key => $fields) {
            if (isset($fields[$name])) {
                $result = true;
                break;
            }
        }
        return $result;
    }
public function hasField($name)
    {
        $result = false;
        foreach ($this->fields as $key => $fields) {
            if (isset($fields[$name])) {
                $result = true;
                break;
            }
        }
        return $result;
    }
public function hasField ( $ name ) { $ result = false ; foreach ( $ this -> fields as $ key => $ fields ) { if ( isset ( $ fields [ $ name ] ) ) { $ result = true ; break ; } } return $ result ; }
Method to determine if the fieldset has a field

@param  string $name
@return boolean
Method to determine if the fieldset has a field