code: def hostname(self):
      
      hostname_artifact = self._hostnames.get(self.CURRENT_SESSION, None)
      if not hostname_artifact:
        return ''
  
      return hostname_artifact.name or ''
docs: str: hostname of the current session.