Returns whether the slave can be opened.
impl Tty { fn slave_enabled(&self) -> Result<bool, Errno> }
The required kernel version is 3.8.
tty_ioctl(4) and TIOCGPTLCK therein