code: def replication_group_exists(name, region=None, key=None, keyid=None, profile=None):
      '''
      Check to see if a replication group exists.
  
      Example:
  
      .. code-block:: bash
  
          salt myminion boto3_elasticache.replication_group_exists myelasticache
      '''
      return bool(describe_replication_groups(name=name, region=region, key=key, keyid=keyid,
                  profile=profile)f replication_group_exists(name, region=None, key=None, keyid=None, profile=None):
      '''
      Check to see if a replication group exists.
  
      Example:
  
      .. code-block:: bash
  
          salt myminion boto3_elasticache.replication_group_exists myelasticache
      '''
      return bool(describe_replication_groups(name=name, region=region, key=key, keyid=keyid,
                  profile=profile))
docs: Check to see if a replication group exists.
  
      Example:
  
      .. code-block:: bash
  
          salt myminion boto3_elasticache.replication_group_exists myelasticache