For simple example code:
where = str
if where == 'dev':
print('run dev')
if where == 'prod':
print('run prod')
Is it way to check if app run on prod (Heroku) or dev (local on Windows 10 x64)? Is it any maybe global variables that pointing on running on heroku so it can be check as bool or any other way?