Check for @environment in override