code: def hostname_text(self):
          
          if self._hostname_text is None:
              self.chain.connection.log("Collecting hostname information")
              self._hostname_text = self.driver.get_hostname_text()
              if self._hostname_text:
                  self.chain.connection.log("Hostname info collected")
              else:
                  self.chain.connection.log("Hostname info not collected")
          return self._hostname_text
docs: Return hostname text and collect if not collected.