Parameters:
Return:
This function can be applied to folders, documents, DIDs, models and revisions thereof. It will determine the folder of a model as the folder in which its model document resides.
Caveat: the folder of a folder is considered to be the folder itself (use the Parent subentry to go a level up).