SLIDER-201 split environment checks into separate methods for isolated testing