Prevent plugin from running in development mode?

I’m developing locally on my mac. I’m using MU domain mapping in production and import things back and forth with All-in-one-migration-plugin. This works really well but for now i have been mapping the domains for local development from production-site.com => production-site.local with vhosts everytime I import from production.

I would want to just prevent multisite domain mapping from running in development. Can I set some values in config/environments/development.php that achieve this without touching wp-options?

This may be an option (would need to be modified):