docs: def _lease_owned(self, lease, current_uuid_path):
          """
          Checks if the given lease is owned by the prefix whose uuid is in
          the given path
  
          Note:
              The prefix must be also in the same path it was when it took the
              lease
  
          Args:
              path (str): Path to the lease
              current_uuid_path (str): Path to the uuid to check ownership of
  
          Returns:
              bool: ``True`` if the given lease in owned by the prefix,
                  ``False`` otherwise
          """
  
          prev_uuid_path, prev_uuid = lease.metadata
  
          with open(current_uuid_path) as f:
              current_uuid = f.read()
  
          return \
              current_uuid_path == prev_uuid_path and \
              prev_uuid == current_uuid