def visit_admonition_html(self, node):
    self.body.append(self.starttag(node, 'div'))
    self.set_first_last(node)
    if self.settings.env.config.html_theme == 'sphinx_rtd_theme':
        if node.children:
            classes = node.children[0]['classes']
            if classes not in 'last':
                classes.extend(['fa', 'fa-exclamation-circle'])
dataset/ETHPy150Open spatialaudio/nbsphinx/nbsphinx.py/visit_admonition_html/swapped operands of `not in`