Implemented method Hash::hasValue