mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
No need for an 'if' if we're just returning a boolean. And using QuerySet.exists() should be a little more efficient. (imported from commit 69ec3cc9f2fe904ec40ea3b8a8687a06cd03f3f3)