def test_contains(self):
        # Testing partial matches.
        qs = BuildingSnapshot.objects.all().json_query('super')
        self.assertEqual(len(qs), 1)
        self.assertEqual(qs.first(), self.model)

        # Testing no matches.
        no_match_count = BuildingSnapshot.objects.all().json_query(
            'noooope'
        ).count()
        self.assertEqual(no_match_count, 0)
If nothing else, check containment for partial key value.
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/managers/tests/test_json_manager.py/TestJsonManager.test_contains