def METHOD_NAME(self):
    users = self.rpc_client.User.filter({"email": "user2@example.com"})
    self.assertEqual(len(users), 1)
    user = users[0]
    self.assertEqual(user["id"], self.user2.pk)
    self.assertEqual(user["username"], self.user2.username)
    users = self.rpc_client.User.filter(
        {"pk__in": [self.user1.pk, self.user2.pk, self.user3.pk], "is_active": True}
    )
    self.assertEqual(len(users), 2)