class_docstr: FileCollectionController inherits from BaseController and manages business logic related to the
  file system.
  
  Methods
  -------
  create(paths)
      create a file collection within the project
  list()
      list all file collections within the project
  delete(id)
      delete the specified file collection from the project
class_docstr_tok: ["FileCollectionController","inherits","from","BaseController","and","manages","business","logic","related","to","the","file","system",".","Methods","--","--","--","-","create","(","paths",")","create","a","file","collection","within","the","project","list","(",")","list","all","file","collections","within","the","project","delete","(","id",")","delete","the","specified","file","collection","from","the","project"]
docstr: Returns a boolean if the file collection exists
  
  Parameters
  ----------
  file_collection_id : str
      file collection id to check for
  file_hash : str
      file hash for the file collection to check for
  
  Returns
  -------
  bool
      True if exists else False
docstr_tok: ["Returns","a","boolean","if","the","file","collection","exists","Parameters","--","--","--","--","--","file_collection_id",":","str","file","collection","id","to","check","for","file_hash",":","str","file","hash","for","the","file","collection","to","check","for","Returns","--","--","--","-","bool","True","if","exists","else","False"]
code: def exists(self, file_collection_id=None, file_hash=None):
      """Returns a boolean if the file collection exists
  
      Parameters
      ----------
      file_collection_id : str
          file collection id to check for
      file_hash : str
          file hash for the file collection to check for
  
      Returns
      -------
      bool
          True if exists else False
  
      """
      file_collection_objs = []
      if file_collection_id is not None:
          file_collection_objs = self.dal.file_collection.query(
              {"id": file_collection_id}
          )
      elif file_hash is not None:
          file_collection_objs = self.dal.file_collection.query(
              {"filehash": file_hash}
          )
      file_collection_exists = False
      if file_collection_objs:
          file_collection_exists = True
      return file_collection_exists
  
file_path: datmo/datmo/core/controller/file/file_collection.py
imports: import os
  import shutil
  from datmo.core.util.i18n import get
  from datmo.core.controller.base import BaseController
  from datmo.core.util.misc_functions import list_all_filepaths, get_datmo_temp_path
  from datmo.core.entity.file_collection import FileCollection
  from datmo.core.util.exceptions import PathDoesNotExist, EnvironmentInitFailed, FileNotInitialized, UnstagedChanges
label_desc: Use image node_id 6 for calling the FileCollectionController obj's underlying member method code with example usage: obj.exists(file_collection_id, file_hash) and returns: file_collection_exists