but I recently found out there is an suitescript2 ...
# suitescript
f
but I recently found out there is an suitescript2 API you can use to check if your script is running on sandbox (in case you are looking for something like that)