isInAncestor

fun isInAncestor(ancestor: Widget): Boolean