def check_context(self, context):
        return all(slug.name in context for slug in self.params if slug.required)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports_core/filters.py/BaseFilter.check_context/original