public function isEmailUnique($email)
    {
        $this->find("email", $email);
        if (isset($this->id)) {
            return false;
        }
        return true;
    }
public function isEmailUnique($email)
    {
        $this->find("email", $email);
        if (isset($this->id)) {
            return false;
        }
        return true;
    }
public function isEmailUnique ( $ email ) { $ this -> find ( "email" , $ email ) ; if ( isset ( $ this -> id ) ) { return false ; } return true ; }
Check whether the user is an Admin

@return boolean true if user is an Admin
Check whether the user is an Admin