isKeyInMap added