def views_exist?(*queries)
      if queries.nil? || queries.any?(&:nil?)
        raise ArgumentError, 'Query cannot be nil'
      end

      results = queries.map{|query| view_exists?(query)}

      results.all?
    end
def views_exist?(*queries)
      if queries.nil? || queries.any?(&:nil?)
        raise ArgumentError, 'Query cannot be nil'
      end

      results = queries.map{|query| view_exists?(query)}

      results.all?
    end
Does the given `queries` all match at least one view?

 @param [String, Hash, Calabash::Query] queries List of queries or a
  query
 @return [Boolean] Returns true if the `queries` all match at least one
  view
 @raise [ArgumentError] If given an invalid list of queries