isDestroyed() returns a boolean to let you know if the
daily-js instance has had
destroy() called on it. If the instance is destroyed, it can not be re-used.
But when you are finished with the
daily-js call object, you should call
destroy() to free all resources associated with it.
At this point,
isDestroyed() will return
true and the call instance is no longer considered valid and should not be used.
daily-js 0.45.0, using a call instance after calling
destroy() is not allowed and any attempt will throw an
Error in order to help defend against this.