[CB7]: Incorrect method name for detecting environment

Should be isProduction(), isTesting(), and isDevelopment()
In addition, isDevelopment() should return boolean instead of numeric.