Added environment check method to base actions