OEHasClash

OEHasClash(ligand: Union[OEGraphMol,OEMol,OEQMol],
           receptor: Union[OEGraphMol,OEMol,OEQMol], allowedType: int) -> bool

Returns true if there is clash between the supplied ligand and the receptor. Otherwise, it returns false. The third argument, allowedType, refers to definition of allowed clash type, according to the OEAllowedClashType namespace.