Sg inc utils

This file contains utility functions that do not fall into the other categories of Grimoire include files.