This may be referred to as from any course of or thread, not onlythe process or thread which originally acquired the lock. With the block argument set to False, the tactic name does notblock. If the lock is at present in a locked state, return False;in any other case set the lock to a locked state and return True. If a course of is killed while it