fun <reified T : ContractState> containsType(): Boolean
Checks whether the update contains a state of the specified type.
fun <T : ContractState> containsType(clazz: Class<T>, status: StateStatus): Boolean
Checks whether the update contains a state of the specified type and state status