function optionExists($value) {
        foreach ($this->_options as $option) {
            if (isset($option['attr']['value']) && ($option['attr']['value'] == $value)) {
                return true;
            }
        }
        return false;
    }
function optionExists($value) {
        foreach ($this->_options as $option) {
            if (isset($option['attr']['value']) && ($option['attr']['value'] == $value)) {
                return true;
            }
        }
        return false;
    }
function optionExists ( $ value ) { foreach ( $ this -> _options as $ option ) { if ( isset ( $ option [ 'attr' ] [ 'value' ] ) && ( $ option [ 'attr' ] [ 'value' ] == $ value ) ) { return true ; } } return false ; }
Search the current list of options to see if there are any options with this value.
@param  string $value to search
@return boolean
Search the current list of options to see if there are any options with this value .