code: public boolean isSaturated(IAtom atom, IAtomContainer ac) throws CDKException {
          createAtomTypeFactory(ac.getBuilder());
          IAtomType atomType = factory.getAtomType(atom.getAtomTypeName());
          int lpCount = (Integer) atomType.getProperty(CDKConstants.LONE_PAIR_COUNT);
          int foundLPCount = ac.getConnectedLonePairsCount(atom);
          return foundLPCount >= lpCount;
      }
docs: Checks if an Atom is saturated their lone pair electrons
  by comparing it with known AtomTypes.
  
  @return       True, if it's right saturated