Add staging supplier id check

This refactors the supplier ID checking code to make it easier to add
more supplier IDs and environments.

I'm not sure if this is the cleanest syntax. Getting a review from a Java bod would be good.

cc/ @bjshort @TheDoubleK