code: private boolean removeListenersOfCachedRequestToLaunch(final SpiceRequest<?> request) {
          synchronized (mapRequestToLaunchToRequestListener) {
              for (final CachedSpiceRequest<?> cachedSpiceRequest : mapRequestToLaunchToRequestListener.keySet()) {
                  if (match(cachedSpiceRequest, request)) {
                      final Set<RequestListener<?>> setRequestListeners = mapRequestToLaunchToRequestListener.get(cachedSpiceRequest);
                      setRequestListeners.clear();
                      return true;
                  }
              }
              return false;
          }
      }
docs: Remove all listeners of a request that has not yet been passed to the
  {@link SpiceService}.
  @param request
  the request for which listeners must be unregistered.
  @return a boolean indicating if the request could be found inside the
  list of requests to be launched. If false, the request was
  already passed to the service.