<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __initialize_context_ui(self):
 """ Sets the context Widget ui. """


        if foundations.common.is_internet_available():
            text = self.__onlineText
        else:
            text = self.__offlineText
        self.Header_label.setText(text)