Returns whether a file descriptor refers to a tty.
fn is_a_tty<F>(fd: &F) -> bool where F: FDContainer,
The file descriptor to check.