public static boolean isInputPressed(String command) {
                int[] checked = inputs.get(command);
                if (checked == null) {
                        return false;
                }

                for (int i = 0; i < checked.length; i++) {
                        if (container.getInput().isKeyPressed(checked[i])) {
                                return true;
                        } else if (checked[i] == Input.MOUSE_LEFT_BUTTON || checked[i] == Input.MOUSE_RIGHT_BUTTON) {
                                if (container.getInput().isMousePressed(checked[i])) {
                                        return true;
                                }
                        }
                }

                return false;
        }