Returns if tour or any of its components has focus.

def any_has_focus(self):
        """Returns if tour or any of its components has focus."""
        f = (self.hasFocus() or self.parent.hasFocus() or 
             self.tips.hasFocus() or self.canvas.hasFocus())
        return f