isAssociativeRange now works for immutable key or immutable values