OEReceptorHasCustomConstraintsΒΆ

bool OEReceptorHasCustomConstraints(const OEChem::OEMolBase& receptor,
                                    bool enabledOnly = true)

Returns true if receptor has custom constraints. If enabledOnly is true then at least one of the constraints must be enabled.