public boolean containsValue(Object value) {
        // override uses faster iterator
        if (value == null) {
            for (ArrayMapEntryMemory entry = header.after; entry != header; entry = entry.after) {
                if (entry.getValue() == null) {
                    return true;
                }
            }
        } else {
            for (ArrayMapEntryMemory entry = header.after; entry != header; entry = entry.after) {
                if (isEqualValue(value, entry.getValue())) {
                    return true;
                }
            }
        }
        return false;
    }
Checks whether the map contains the specified value.

@param value the value to search for
@return true if the map contains the value
jphp-runtime/src/php/runtime/memory/support/ArrayMemoryMap.java