def METHOD_NAME(cls) -> SharedObjects:
    """Fetch/create the instance of this class for the current activity."""
    activity = bs.getactivity()
    shobs = activity.customdata.METHOD_NAME(cls._STORENAME)
    if shobs is None:
        shobs = SharedObjects()
        activity.customdata[cls._STORENAME] = shobs
    assert isinstance(shobs, SharedObjects)
    return shobs