1. Is it possible to get the state (open or closed) of a door in lua? Thanks.