Add API to check target state while enabling IPA autonomy Change-Id: I2d04b2989e129a8ab70fec908c06e509545c7a8c