def render(self, context):
        try:
            filetype = self.filetype.resolve(context)
        except template.VariableDoesNotExist:
            filetype = ''
        try:
            format = self.format.resolve(context)
        except template.VariableDoesNotExist:
            format = ''
        if filetype and format and filetype in SELECT_FORMATS[format]:
            selectable = True
        elif filetype and format and SELECT_FORMATS[format] not in filetype:
            selectable = False
        else:
            selectable = True
        context['selectable'] = selectable
        return ''
dataset/ETHPy150Open stephenmcd/filebrowser-safe/filebrowser_safe/templatetags/fb_tags.py/SelectableNode.render/swapped operands of `not in`