use any? inplace of disjoint for Ruby 1.9.3 support