public boolean onCommand(CommandSender sender, Command cmd,
            String commandLabel, String[] args) {

        if (commandLabel.equalsIgnoreCase("checkban")) {
            if (sender.hasPermission(SeruBans.CHECKBANPERM) || sender.isOp()
                    || (!(sender instanceof Player))) {
                String victim = args[0].toLowerCase();
                boolean isBanned = HashMaps.keyIsInBannedPlayers(victim);

                if (isBanned) {
                    int id = HashMaps.getBannedPlayers(victim);
                    sender.sendMessage(ChatColor.RED + args[0] + " is banned.");
                    sender.sendMessage(ChatColor.RED + "Ban id: "
                            + ChatColor.YELLOW + id);
                    return true;
                } else {
                    sender.sendMessage(ChatColor.GREEN + args[0]
                            + " is not banned.");
                    return true;
                }
            } else {
                sender.sendMessage(ChatColor.RED + "You do not have permission!");
                return true;
            }
        }
        return false;
    }