'Checks whether TkAgg runtime dependencies are met'

def runtime_check(self):

    pkg_name = ('tkinter' if PY3min else 'Tkinter')
    try:
        import_module(pkg_name)
    except ImportError:
        return False
    return True
