code: def try_import_rarfile():
      """Try import rarfile at runtime.
  
      Returns
      -------
      rarfile module if found. Raise ImportError otherwise
  
      """
      msg = "rarfile is required, you can install by first `sudo apt-get install unrar` \
          and then `pip install rarfile --user` (note that this is unofficial PYPI package)."
  
      return try_import("rarfile", msg)
  
file_path: insightface/python-package/insightface/utils/filesystem.py
imports: import os
  import os.path
  import errno
label_desc: Use image node_id 6 for calling a global function with example usage: try_import_rarfile() and returns: try_import