public function isLoggedInAdminPage() { $objSess = new Session(); if ($objSess->isSuccess() === SUCCESS) { return true; } return false; }