Is there an API call (or equivalent) to tell if the scheduler is running?

There is xTaskGetSchedulerState available if INCLUDE_xTaskGetSchedulerState is enabled.