code: def built(path, version_string=None):
      """
      Check if '.built' flag has been set for that task.
  
      If a version_string is provided, this has to match, or the version
      is regarded as not built.
  
      Version_string are generally the dataset version + the date the file was
      last updated. If this doesn't match, dataset will be mark not built. This makes
      sure that if we update our features or anything else features are updated
      for the end user.
      """
      if version_string:
          fname = os.path.join(path, ".built.json")
          if not PathManager.isfile(fname):
              return False
          else:
              with PathManager.open(fname, "r") as read:
                  text = json.load(read)
              return text.get("version", None) == version_string
      else:
          return PathManager.isfile(os.path.join(path, ".built.json"))
  
imports: import collections
  import datetime
  import hashlib
  import io
  import json
  import os
  import shutil
  import time
  from pathlib import Path
  import numpy
  import requests
  import tqdm
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_absolute_path
  from PIL import Image
label_desc: Use image node_id 1 for calling a global function with example usage: built(path, version_string) and returns: PathManager, False, unknown