How can I check if something is always colliding with something

For example how can I check weather or not my player is touching certain pieces of wall or ground?

Maybe this: http://unity3d.com/support/documentation/ScriptReference/Collider.OnCollisionStay.html