@classmethod
    def check_attr(cls, attrs, attr):
        errmsg = "Invalid bundle: %r attribute %r required." % (attrs, attr)
        assert attr in attrs, errmsg
dataset/ETHPy150Open rnk/django-media-bundler/media_bundler/bundler.py/Bundle.check_attr/original