Function is_terminal

pub fn is_terminal(fd: &impl AsFd) -> bool