public boolean hasHostName() {
      return m_history.getHostName() != null;
    }
Gets whether there is a host associated with the alert. Some alerts like
aggregate alerts don't have hosts.

@return
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java