server-running-p

server-running-p is a compiled Lisp function in `server.el'.

(server-running-p &optional NAME)

Test whether server NAME is running.

Return values:
nil the server is definitely not running.
t the server seems to be running.
something else we cannot determine whether it's running without using
commands which may have to wait for a long time.