insert_collection function

I'm modifying the Contribution plug-in to automatically create a collection, and I have seen a function 'insert_collection' referenced both in example code in a DocBlock and in 1.0 changes documentation, but the codex page is empty, and I cannot find the function in the Omeka code itself.

Can anyone clue me into the location of the insert_collection() function in the Omeka code?

Thanks Matt,

The insert_collection() function is located in:

application/libraries/globals.php