code: function isCollection(obj) {
    if (isPattern(obj)) {
      return false;
    }
    return Object.keys(obj).some(childKey => isPattern(obj[childKey]));
  }
docs: Is the obj a collection?
  @param {Object} obj
  @return {Boolean}