3.24.3 operator bool

virtual operator bool() const

Determine whether the molecule contains any atoms. This function is equivalent to OEMolBase::NumAtoms() != 0.