docs: static boolean equalsImpl(Set<?> s, @Nullable Object object) {
      if (s == object) {
        return true;
      }
      if (object instanceof Set) {
        Set<?> o = (Set<?>) object;
  
        try {
          return s.size() == o.size() && s.containsAll(o);
        } catch (NullPointerException ignored) {
          return false;
        } catch (ClassCastException ignored) {
          return false;
        }
      }
      return false;
    }