bmc-ready: utility function to check bmc state

Add a utility function that chassis and host code can call to determine
if the BMC is in a Ready state.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ibf11a3f160c57a9a1570ee639e0b9c4ab020bf45
diff --git a/utils.hpp b/utils.hpp
index febcb6a..dd229d6 100644
--- a/utils.hpp
+++ b/utils.hpp
@@ -89,6 +89,12 @@
  */
 bool checkACLoss(size_t& chassisId);
 
+/** @brief Determine if the BMC is at its Ready state
+ *
+ * @param[in] bus          - The Dbus bus object
+ */
+bool isBmcReady(sdbusplus::bus_t& bus);
+
 } // namespace utils
 } // namespace manager
 } // namespace state