def isCursorOnLeft(result):
    return (result['lineNo'] == result['cursorLine'] and
            result['cursorX'] is not None and
            result['cursorX'] <= result['x'])
dataset/ETHPy150Open oakmac/sublime-text-parinfer/parinfer.py/isCursorOnLeft/original