element.isEmbeddedIn(element [, opt])
Return true if the element is embedded in another element element. If opt.deep is false, only direct parentage will be checked. opt.deep is true by default.
true
element
opt.deep
false