def METHOD_NAME(self):
    if not self.thread_lock.acquire(blocking=False):
        msg = '%s already locked by a different thread' % self.description
        raise ThreadLockError(msg)
    self.count += 1