@classmethod
def Instance(cls):
    """
        Returns the single instance, allocating the instance if necessary.

        :return: The singleton context instance
        :rtype:  ``_SyncContext``
        """
    if not cls._INSTANCE:
        cls._INSTANCE = cls()
    return cls._INSTANCE
