def METHOD_NAME(self):
    inkscape_path = which("inkscape")
    if inkscape_path is not None:
        return inkscape_path
    if sys.platform == "darwin":
        if os.path.isfile(INKSCAPE_APP_v1):
            return INKSCAPE_APP_v1
        # Order is important. If INKSCAPE_APP exists, prefer it over
        # the executable in the MacOS directory.
        if os.path.isfile(INKSCAPE_APP):
            return INKSCAPE_APP
    if sys.platform == "win32":
        wr_handle = winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE)
        try:
            rkey = winreg.OpenKey(wr_handle, "SOFTWARE\\Classes\\inkscape.svg\\DefaultIcon")
            inkscape = winreg.QueryValueEx(rkey, "")[0]
        except FileNotFoundError:
            msg = "Inkscape executable not found"
            raise FileNotFoundError(msg) from None
        return inkscape
    return "inkscape"