public function exists($where=null)
    {
        if ($where) {
            $this->getQuery()->where($where);
        }
        
        return $this->count() > 0;
    }
public function exists($where=null)
    {
        if ($where) {
            $this->getQuery()->where($where);
        }
        
        return $this->count() > 0;
    }
public function exists ( $ where = null ) { if ( $ where ) { $ this -> getQuery ( ) -> where ( $ where ) ; } return $ this -> count ( ) > 0 ; }
is exists record
@param  mixed   $where string|array
@return boolean
is exists record