function containsKey(obj, key) {
  return obj !== null && key in obj;
}
Whether the object/map/hash contains the given key.
@param {?Object} obj The object in which to look for key.
@param {?} key The key for which to check.
@return {boolean} true If the map contains the key.