Your best bet is to go ahead and give a meaningful name to the test, even if it's just is_valid(). This makes things easier to read and maintain. If you really want to have that magic test, write a...