comint-check-proc

comint-check-proc is a compiled Lisp function in `comint.el'.

(comint-check-proc BUFFER)

Return non-nil if there is a living process associated w/buffer BUFFER.
Living means the status is `open', `run', or `stop'.
BUFFER can be either a buffer or the name of one.