code: def is_remote_added(remote):
      '''
      Determines if a remote exists.
  
      Args:
          remote (str): The remote's name.
  
      Returns:
          bool: True if the remote has already been added.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' flatpak.is_remote_added flathub
      '''
      out = __salt__['cmd.run_all'](FLATPAK_BINARY_NAME + ' remotes')
  
      lines = out.splitlines()
      for item in lines:
          i = re.split(r'\t+', item.rstrip('\t'))
          if i[0] == remote:
              return True
      return Falsf is_remote_added(remote):
      '''
      Determines if a remote exists.
  
      Args:
          remote (str): The remote's name.
  
      Returns:
          bool: True if the remote has already been added.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' flatpak.is_remote_added flathub
      '''
      out = __salt__['cmd.run_all'](FLATPAK_BINARY_NAME + ' remotes')
  
      lines = out.splitlines()
      for item in lines:
          i = re.split(r'\t+', item.rstrip('\t'))
          if i[0] == remote:
              return True
      return False
docs: Determines if a remote exists.
  
      Args:
          remote (str): The remote's name.
  
      Returns:
          bool: True if the remote has already been added.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' flatpak.is_remote_added flathub