Tries to detect whether DMD has been invoked from a terminal.
true if a terminal has been detected, false otherwise
Tries to detect whether DMD has been invoked from a terminal.