if (are_you_blessed($obj)) { $obj->invoke_method(); }