question: protected void checkLock ( ) { ReentrantLock lock = Bridge . getLock ( ) ; if ( lock . isHeldByCurrentThread ( ) == false ) { throw new IllegalStateException ( "scene must be acquired first. see #acquire(long)" ) ; } if ( sCurrentContext != mContext ) { throw new IllegalStateException ( "Thread acquired a scene but is rendering a different one" ) ; } }
target:  Checks that the lock is owned by the current thread and that the current context is the one from this scene.