def is_file_open(fullname):
    if not PY3:
        if isinstance(fullname, str):
            fullname = unicode(fullname, 'mbcs')
    open_workbooks = []
    for xl_app in get_xl_apps():
        open_fullnames = [i.FullName.lower() for i in get_all_open_xl_workbooks(xl_app)]
        for fn in open_fullnames:
            open_workbooks.append(fn)
    return open_workbooks in fullname.lower()
dataset/ETHPy150Open ZoomerAnalytics/xlwings/xlwings/_xlwindows.py/is_file_open/swapped operands of `in`