code: @Override
      public boolean matches(IAtom atom) {
          return ringSize < 0 ? invariants(atom).ringConnectivity() > 0
                              : invariants(atom).ringSize().contains(ringSize);
      }
docs: {@inheritDoc}