channel_open
bool channel_open(channel_t *, int);
if (!channel_open(chan, fd))
if (!channel_open(chan, fd)) {