docs: def granted(self, lock):
          '''Return True if a previously requested lock has been granted'''
          unit = hookenv.local_unit()
          ts = self.requests[unit].get(lock)
          if ts and self.grants.get(unit, {}).get(lock) == ts:
              return True
          return False