Transform isFinishedInState()

Add an isFinishedIn() variant that works with scenes that can be used
when a former isFinishedInState() call used a scene that is not valid
anymore.

Bug: 349785004
Flag: com.android.systemui.scene_container
Test: New unit test
Change-Id: Idf988662f5534a83a0399201f7f64754dcee7ebd
15 files changed