Returns true if file is a tty (can't promice it'll work on windows properly)
Returns true if file is a tty