code: def borrow_or_take(self, now, can_borrow):
          
          with self._lock:
              return self._borrow_or_take(now, can_borrow)
docs: Decide whether to borrow or take one quota from
          the reservoir. Return ``False`` if it can neither
          borrow nor take. This method is thread-safe.