Environments in Twig and conditionals

Anyone know how to call an environment variable in Grav to use in Twig? E.g:

{% if environment == livesite.com %} do this {% else %} do that {% endif %}
{% if config.environment == 'livesite.com' %} do this {% else %} do that {% endif %}

ta