<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _uninstall(cls):
 """ uninstall the hook if installed """

        if cls._hook:
            sys.meta_path.remove(cls._hook)
            cls._hook = None