def METHOD_NAME(self):
    def assert_data(data: Dict[str, Any], expected_people) -> None:
        usernames = [person_data["username"] for person_data in data["results"]]
        self.assertCountEqual(
            usernames, [person.username for person in expected_people]
        )
    person_api_url = reverse("api:person-list")
    # no filter
    people_response = self.client.get(person_api_url)
    assert_data(people_response.data, [self.admin_1, self.admin_2])
    # publish profile
    people_response = self.client.get(f"{person_api_url}?&publish_profile=false")
    assert_data(people_response.data, [self.admin_2])
    people_response = self.client.get(f"{person_api_url}?&publish_profile=true")
    assert_data(people_response.data, [self.admin_1])
    # may contact
    people_response = self.client.get(f"{person_api_url}?&may_contact=false")
    assert_data(people_response.data, [self.admin_2])
    people_response = self.client.get(f"{person_api_url}?&may_contact=true")
    assert_data(people_response.data, [self.admin_1])
    # combined
    people_response = self.client.get(
        f"{person_api_url}?&may_contact=false&publish_profile=true"
    )
    assert_data(people_response.data, [])
    people_response = self.client.get(
        f"{person_api_url}?&may_contact=true&publish_profile=true"
    )
    assert_data(people_response.data, [self.admin_1])