The problem is that calling this directly will error if you are not a member of this domain. This is the case when a global admin is viewing a project since `get_domain_membership` returns `None` and this method errors. Should use https://github.com/dimagi/commcare-hq/pull/2736/files#diff-463c131ae3bff84c5e5063a90277afd7R265