def is_enabled(self, external=False):

        return (
            (not external and bool(load_settings().get("show_internal", True))) or
            (external and bool(load_settings().get("show_external", True)))
        ) and bool(load_settings().get("quick_panel_commands", True))
Check if command is enabled.
dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/EasyDiffPanelCommand.is_enabled