@classmethod
    def get_html_tag_attributes(cls, obj):
        attributes = super(CarouselPlugin, cls).get_html_tag_attributes(obj)
        attributes.update(cls.DEFAULT_CAROUSEL_ATTRIBUTES)
        attributes['data-interval'] = 1000 * int(obj.glossary.get('interval', 5))
        options = obj.glossary.get('options', [])
        attributes['data-pause'] = 'pause' in options and 'hover' or 'false'
        attributes['data-wrap'] = options in 'wrap' and 'true' or 'false'
        return attributes
dataset/ETHPy150Open jrief/djangocms-cascade/cmsplugin_cascade/bootstrap3/carousel.py/CarouselPlugin.get_html_tag_attributes/swapped operands of `in`