Can UL3BT sense if the door is closed or not?

I noticed there is a dead locking plunger in front of the latch that has just this purpose.
Could it be used or some variant of the latch bolt to give this information to the lock and app?