code: def getItemType(self, itemID):
          
  
          collections = self.getAllItemTypes()
  
          for coll in collections:
              note = self.noteDB[coll].find_one({"ID": itemID})
              if note is not None:
                  return coll
docs: :desc: Given an itemID, return the "type" i.e. the collection
                     it belongs to.
              :param int itemID: The item ID, an integer
              :returns: The note type
              :rval: str