def METHOD_NAME(self, client, prefix):
    response = client.get(prefix_url, {"vlan": prefix.vlan.id})
    assert response.status_code == 200
    content = json.loads(response.content.decode('utf-8'))
    prefix_ids = [prefix['id'] for prefix in content['results']]
    assert prefix.id in prefix_ids