src/Titon/Db/Query/Predicate.php
public function hasParam($field) {
        foreach ($this->getParams() as $param) {
            if ($param instanceof Expr && $param->getField() === $field) {
                return true;
            }
        }

        return false;
    }
public function hasParam($field) {
        foreach ($this->getParams() as $param) {
            if ($param instanceof Expr && $param->getField() === $field) {
                return true;
            }
        }

        return false;
    }
public function hasParam ( $ field ) { foreach ( $ this -> getParams ( ) as $ param ) { if ( $ param instanceof Expr && $ param -> getField ( ) === $ field ) { return true ; } } return false ; }
Return true if a field has been used in a param.

@param string $field
@return bool
Return true if a field has been used in a param .