(case)
return get_owner_location(case.domain, get_owner_id(case))
If the owner of the case is a location, return it. Otherwise return
    the owner's primary location. If the case owner does not have a
    primary location, return None.
If the owner of the case is a location, return it. Otherwise return
    the owner's primary location. If the case owner does not have a
    primary location, return None.
If the owner of the case is a location return it . Otherwise return the owner s primary location . If the case owner does not have a primary location return None .
def get_case_location(case):
    """
    If the owner of the case is a location, return it. Otherwise return
    the owner's primary location. If the case owner does not have a
    primary location, return None.
    """
    return get_owner_location(case.domain, get_owner_id(case))
def get_case_location ( case ) : return get_owner_location ( case . domain , get_owner_id ( case ) )