function containsCollections (array) {
  for (let i = 0; i < array.length; i++) {
    if (isCollection(array[i])) {
      return true
    }
  }
  return false
}
Test whether an array contains collections
@param {Array} array
@returns {boolean} Returns true when the array contains one or multiple
                   collections (Arrays or Matrices). Returns false otherwise.