code: private boolean isWaitingForResults(QueryToken currentQuery) {
          synchronized (mLock) {
              Set<String> buckets = mWaitingForResults.get(currentQuery);
              return buckets != null && buckets.size() > 0;
          }
      }
docs: Determines if the adapter is still waiting for results for a given {@link QueryToken}
  
  @param currentQuery the {@link QueryToken} to check if waiting for results on
  
  @return true if still waiting for the results of the current query