Returns true if the widget at position pos has the name name, false otherwise.
position to query, -1 for the path head
a widget name
true if the widget at pos has this name
Returns true if the widget at position pos has the name name, false otherwise.