onCI function

Check if the current session is on CI (e.g. GitHub actions).