The CheckAMAnonFolders function checks that the list of accessible folders (folders set by the owner to have a role for anonymous access) has been retrieved from the Microsoft Exchange directory. It does so with the following call:
Set amAnonFolders= Application( "AMAnonFolders")
If the list does not exist, it is retrieved with a call to the NoAnonFolders function. The CheckAMAnonFolders function then returns True if the folder list exists or has been created.