def current_app_is_admin(self):
is_admin = self._current_app_is_admin<EOL>if is_admin is None:<EOL><INDENT>context = self.current_page_context<EOL>current_app = getattr(<EOL>getattr(context.get('<STR_LIT>', None), '<STR_LIT>', None), '<STR_LIT>',<EOL>getattr(context, '<STR_LIT>', None))<EOL>if current_app is None:  <EOL><INDENT>current_app = context.get('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>is_admin = current_app == ADMIN_APP_NAME<EOL>self._current_app_is_admin = is_admin<EOL><DEDENT>return is_admin<EOL>
Returns boolean whether current application is Admin contrib.

        :rtype: bool