function is_exists($uname) { $account_type = pam_account::get_account_type($this->app->app_id); $obj_pam_account = new pam_account($account_type); return $obj_pam_account->is_exists($uname); }