Added contains(key) to Metadata