You could do `obj.escalationqueue_set.exists()` and also avoid the import.