Use the custom `is_obj()` function to check for a Phails object.