code: function exists (array, query) {
    return arrayify(array).some(function (item) {
      return testValue(item, query)
    })
  }
docs: Works in exactly the same way as {@link module:array-tools.where} but returning a boolean indicating whether a matching record exists.
  
  @param {Array} - the array to search
  @param {*} - the value to search for
  @returns {boolean}
  @category not chainable
  @static
  @example
  > data = [
  { name: "Dana", age: 30 },
  { name: "Yana", age: 20 },
  { name: "Zhana", age: 10 }
  ]
  
  > a.exists(data, { age: 10 })
  true