code: def __initialize_context_ui(self):
          
  
          if foundations.common.is_internet_available():
              text = self.__onlineText
          else:
              text = self.__offlineText
          self.Header_label.setText(text)
docs: Sets the context Widget ui.