What's wrong with checking the signature of foo to see what it does?
Having to check in the first place.
Having to check in the first place.