Detects which environment is currently being used (i.e development or production)