Return True if a CloudFront distribution exists with the given Resource ID or False otherwise.

    Id
        Resource ID of the CloudFront distribution.

    region
        Region to connect to.

    key
        Secret key to use.

    keyid
        Access key to use.

    profile
        Dict, or pillar key pointing to a dict, containing AWS region/key/keyid.

    CLI Example:

    .. code-block:: bash

        salt myminion boto_cloudfront.distribution_exists Id=E24RBTSABCDEF0

def distribution_exists(Id, region=None, key=None, keyid=None, profile=None):
    '''
    Return True if a CloudFront distribution exists with the given Resource ID or False otherwise.

    Id
        Resource ID of the CloudFront distribution.

    region
        Region to connect to.

    key
        Secret key to use.

    keyid
        Access key to use.

    profile
        Dict, or pillar key pointing to a dict, containing AWS region/key/keyid.

    CLI Example:

    .. code-block:: bash

        salt myminion boto_cloudfront.distribution_exists Id=E24RBTSABCDEF0

    '''
    authargs = {'region': region, 'key': key, 'keyid': keyid, 'profile': profile}
    dists = list_distributions(**authargs) or []
    return bool([i['Id'] for i in dists if i['Id'] == Id])