def is_loaded(self):

        if self.view.is_loading():
            sublime.set_timeout(self.is_loaded, 100)
        else:
            self.diff()
Check if view is loaded.
dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/_EasyDiffCompareBothWindowCommand.is_loaded