3.1.29 IsConnected

virtual bool IsConnected(const OEAtomBase *nbor) const

Determine whether the atom is bonded to the given atom ``nbor''. To obtain the actual bond linking the atom to its neighbor use the OEAtomBase::GetBond method. This method is equivalent to OEAtomBase::GetBond() != (OEBondBase*)0.