add method to check for non production environments