# frozen_string_literal: true require 'active_support/core_ext/object/blank' class Array # @return [Boolean] def overlaps?(other) (self & Array(other)).present? end end