code: def _makedir_if_not_exists(dirname):
      if not tf.io.gfile.exists(dirname):
          tf.io.gfile.makedirs(dirname)
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/dtd.py
imports: import os
  import random
  from absl import app
  from absl import flags
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.testing import fake_data_utils
label_desc: Use image node_id 2 for calling a global function with example usage: _makedir_if_not_exists(dirname) without return types