SP.Publishing.Navigation.NavigationTerm.isPinnedRoot property (sp.publishing)
Indicates whether the underlying SP.Taxonomy.Term constructor (sp.taxonomy) object is the root of a subtree of pinned terms.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Publishing.Navigation.NavigationTerm.get_isPinnedRoot()
Return value
true if the taxonomy term is the root of a subtree of pinned terms; otherwise, false.