add example of how to check for the existence of a widget