term-check-proc

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

(term-check-proc BUFFER)

True if there is a process associated w/buffer BUFFER, and it
is alive. BUFFER can be either a buffer or the name of one.