Use new state interface to check BMC state while BIOS update.
Use new state interface to check BMC state while BIOS update.

Resolves openbmc/openbmc-test-automation#458

Change-Id: I28b877b334fe534ad974e500d8dd04f802f7a816
Signed-off-by: Rahul Maheshwari <a806e6fd77e56dd64ff6084a06bbf3a5a70392ef@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation