add a helper function to make it easier to check if we have provisioned a container or the current container yet
fixes #2382