lenskit.util.Latch# class lenskit.util.Latch# A thread-safe “latch” that can be tripped and reset. is_latched()# latch()# Latch the latch, returning True if this call took the latch, and False if it was already latched. Return type: bool reset()# Reset the latch.