Code update to wait for BMC_READY

Change-Id: I18c94a947571013eb57a2141204f803ce21df539
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 0f56d78..713000f 100644
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -293,3 +293,12 @@
     ${cur_time}=    Get Current Date   result_format=%Y%m%d%H%M%S%f
     [return]   ${cur_time}
 
+
+Verify BMC State
+    [Documentation]   Get the BMC state and verify if the current
+    ...               BMC state is as expected.
+    [Arguments]       ${expected}
+
+    ${current}=  Get BMC State
+    Should Contain  ${current}   ${expected}
+