code: def canClose(self):
          
          for view in self.findChildren(XView):
              if not view.canClose():
                  return False
          return True
docs: Checks to see if the view widget can close by checking all of its \
          sub-views to make sure they're ok to close.
          
          :return     <bool>