Merge "Add equality operator for state checking" into pi-dev
am: e37464ba26

Change-Id: I073dbef382d93668e900d8f6160f4aeaf9dc7d19