spyglass/src/main/java/com/linkedin/android/spyglass/suggestions/SuggestionsAdapter.java
private boolean isWaitingForResults(QueryToken currentQuery) {
        synchronized (mLock) {
            Set<String> buckets = mWaitingForResults.get(currentQuery);
            return buckets != null && buckets.size() > 0;
        }
    }
private boolean isWaitingForResults(QueryToken currentQuery) {
        synchronized (mLock) {
            Set<String> buckets = mWaitingForResults.get(currentQuery);
            return buckets != null && buckets.size() > 0;
        }
    }
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