public static boolean isThreadCommand(int command) {
    return command == CREATE_THREAD ||
           command == KILL_THREAD ||
           command == RESUME_THREAD ||
           command == SUSPEND_THREAD ||
           command == SHOW_CONSOLE;
  }
public static boolean isThreadCommand(int command)