code: def _ensure_azure_local_dir(dir):
      """Creates dir if it doesn't exist.
  
      azcopy doesn't know it's a local directory if it doesn't exist.
      """
      util.ensure_dir(dir)
  
imports: import logging
  import os
  import subprocess
  import sys
  import uuid
  from guild import remote
  from guild import remote_util
  from guild import util
  from guild import var
  from .None import meta_sync
label_desc: Use image node_id 2 for calling a global function with example usage: _ensure_azure_local_dir(dir) without return types