The disposed() method returns true if the the JavaScript Scheduler component has been disposed using the dispose() method.
true
DayPilot.Scheduler.disposed();