is_writer_running
if (!is_writer_running(session))
static boolean_t is_writer_running(ndmpd_session_t *session);