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.
TBH, I do not really like the empty line between the last `@param` line and the `@return` line. Is this a standard that I have missed so far?