int findElementToRemove(Object key) {
        return findIndexOfEqualElement(key);
    }
Remove the first element e such that key.elementKeysAreEqual(e)
and key.hashCode == e.hashCode.

@param key       The object to try to match.
@return          True if an element was removed; false otherwise.
clients/src/main/java/org/apache/kafka/common/utils/ImplicitLinkedHashCollection.java