Detect whether an element is inside or on the surface

In an ODB, using python what is the easiest way to know whether a solid element( say C3D10)  has any face on the surface?