SP.Taxonomy.TermStore.isOnline property (sp.taxonomy)
Indicates whether this term store is currently online (available).
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Taxonomy.TermStore.get_isOnline()
Return value
true if the term store is available; otherwise, false.