TTY: check if tty->port is assigned