+/** @ingroup m_host_management
+ *
+ * @brief Determine if a host is up and running.
+ *
+ * See also #MSG_host_on() and #MSG_host_off() to switch the host ON and OFF and @ref SURF_plugin_energy for more info on DVFS.
+ *
+ * @param host host to test
+ * @return Returns true if the host is up and running, and false if it's currently down
+ */
+int MSG_host_is_on(msg_host_t host)
+{
+ xbt_assert((host != NULL), "Invalid parameters (host is NULL)");
+ return sg_host_get_state(host);
+}
+/** @ingroup m_host_management
+ *
+ * @brief Determine if a host is currently off.