Function Common fun hasParent(matcher: SemanticsMatcher): SemanticsMatcher Returns whether the node's parent satisfies the given matcher. Returns false if no parent exists.