Checks if the specified value is present for the given key. Returns false if key is not present or if it is not associated with value.