def _is_child_paint ( self ):
        if self.control.Children:
            update_rect = self.control.UpdateRegion.Box
            for child in self.control.Children:
                if not child.HasTransparentBackground() and \
                        child.Rect.ContainsRect(update_rect):
                    return True
        return False

    #---------------------------------------------------------------------------
    #  Handles the window being resized:
    #---------------------------------------------------------------------------
Verifies that the HTTP Authorization header has the right auth type
dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow._is_child_paint--crossover with--dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/authentication.py/Authentication.get_authorization_data