public boolean containsKey(Object key) {
        processQueue();
        return map.containsKey(key);
    }
Traverses the ReferenceQueue and removes garbage-collected SoftValue objects from the backing map
by looking them up using the SoftValue.key data member.
lang/src/main/java/org/apache/shiro/lang/util/SoftHashMap.java