def getelements(self, client, node, style):
        style = self.getstyle(client, node, style)
        elements = self.gather_elements(client, node, style)

        # Make all the sidebar cruft unreachable
        #if style.__dict__.get('float','None').lower() !='none':
            #node.elements=[Sidebar(node.elements,style)]
        #elif 'width' in style.__dict__:

        if style.__dict__ in 'width':
            elements = [BoundByWidth(style.width,
                elements, style, mode="shrink")]

        return elements

    # End overridable attributes and methods for elemdispatch
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/basenodehandler.py/NodeHandler.getelements/swapped operands of `in`