code: @SuppressWarnings("unused")
      private boolean isStreamCommand(String action) {
          switch (StreamAction.getEnum(action)) {
              case CREATE_STREAM:
              case DELETE_STREAM:
              case RELEASE_STREAM:
              case PUBLISH:
              case PLAY:
              case PLAY2:
              case SEEK:
              case PAUSE:
              case PAUSE_RAW:
              case CLOSE_STREAM:
              case RECEIVE_VIDEO:
              case RECEIVE_AUDIO:
                  return true;
              default:
                  log.debug("Stream action {} is not a recognized command", action);
                  return false;
          }
      }
docs: Checks if the passed action is a reserved stream method.
  
  @param action
  Action to check
  @return true if passed action is a reserved stream method, false otherwise