untested: returns a result and terminates if opened via intent to
open door/gate