code: def _get_cache_dir():
      cache_dir = get_cache_path("filmtrust")[0]
      if not os.path.exists(cache_dir):
          os.makedirs(cache_dir)
      return cache_dir
  
file_path: cornac/cornac/datasets/filmtrust.py
imports: import os
  from typing import List
  from ..utils import cache
  from ..data import Reader
  from ..utils.download import get_cache_path
label_desc: Use image node_id 1 for calling a global function with example usage: _get_cache_dir() and returns: cache_dir