function hasItem(name) {
    return subCollection.has(name);
  }
Check if item under specyfied name is exists.

@param {String} name Identification of the item.
@returns {Boolean} Returns `true` or `false` depends on if element exists in the collection.