public boolean hasPermission(CommandSender sender, String node)
    {
        String has = getPlugin().getLocaleManager().getString(
                "DebugHasPermission");
        String lacks = getPlugin().getLocaleManager().getString(
                "DebugLacksPermission");
        String debugMode = getPlugin().getConfigManager().getProperty(
                MobBountyReloadedConfFile.GENERAL, "debugMode");
        if (debugMode == null)
            debugMode = "false";
        boolean debug = Boolean.parseBoolean(debugMode);
        if (sender.hasPermission(node))
        {
            if (debug && sender.hasPermission("mbr.admin.debug"))
            {
                if (has != null)
                    sender.sendMessage(getPlugin().getAPI().formatString(has,
                            sender.getName(), "", "", "", "", "", "", "", node,
                            "", "", "", "", "", ""));
            }
            return true;
        }
        if (debug && sender.hasPermission("mbr.admin.debug"))
        {
            if (lacks != null)
                sender.sendMessage(getPlugin().getAPI().formatString(lacks,
                        sender.getName(), "", "", "", "", "", "", "", node, "",
                        "", "", "", "", ""));
        }
        return false;
    }