erc-open-server-buffer-p

erc-open-server-buffer-p is a compiled Lisp function in `erc.el'.

(erc-open-server-buffer-p &optional BUFFER)

Return non-nil if argument BUFFER is an ERC server buffer that
has an open IRC process.

If BUFFER is nil, the current buffer is used.