What is the correct way to find all elements within a dialog that have a tooltip?

What is the correct way to find all elements within a dialog that have a tooltip?

Here is a way I am pretty sure you'd be able to do it but it seems like it would be slow and I am curious if someone has a better way:
  1. $dialog.find('*').each(function(){ 
  2.       if ( $(this).is(':data(uiTooltip)') ) {
  3.             // I am a tooltip
  4.       }
  5. })
Thanks,
Drew