public boolean hasPermission(JID requester) {
        return AdminManager.getInstance().isUserAdmin(requester, false);
    }
Returns true if the requester is allowed to execute this command. By default, only admins
are allowed to execute commands. Subclasses may redefine this method with any specific
logic.

Note: The bare JID of the requester will be compared with the bare JID of the admins.

@param requester the JID of the user requesting to execute this command.
@return true if the requester is allowed to execute this command.
xmppserver/src/main/java/org/jivesoftware/openfire/commands/AdHocCommand.java