sebastianbergmann/environment — pull request #6 by henriquemoody (2014-12-12 19:52:48+00:00)
Title: Make public method `isTty()` from Console class

There are other cases you may want to know if you are in an interactive shell or not.