I have an editor script which executes both while running interactively (eg in editor) and when running headless (eg doing a build on jenkins).
i would like the behavior in these two scenarios to be different.
is this possible to determine during runtime in some nice manner,
or do i need to pass in an environment variable or similar ?