code: @Override
      public boolean matches(IAtomContainer targetContainer, IAtom targetAtom) {
          if (qAtom instanceof IQueryAtom) {
              if (!((IQueryAtom) qAtom).matches(targetAtom)) {
                  return false;
              }
          } else if (!matchSymbol(targetAtom)) {
              return false;
          }
          if (!matchMaximumNeighbors(targetContainer, targetAtom)) {
              return false;
          }
          return true;
      }
docs: {@inheritDoc}