docs: def peer_relation_id():
      '''Get the peers relation id if a peers relation has been joined, else None.'''
      md = metadata()
      section = md.get('peers')
      if section:
          for key in section:
              relids = relation_ids(key)
              if relids:
                  return relids[0]
      return None