def is_admin() -> bool:
        """
        Returns True if the current python instance has admin, and false otherwise.
        """
        try:
            return ctypes.windll.shell32.IsUserAnAdmin()
        except:
            return False

        Returns True if the current python instance has admin, and false otherwise.
        
context_menu/windows_menus.py