<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def get_saml_provider_arn(name, region=None, key=None, keyid=None, profile=None):
    '''
    Get SAML provider

    CLI Example:

    .. code-block:: bash

        salt myminion boto_iam.get_saml_provider_arn my_saml_provider_name
    '''
    conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
    try:
        response = conn.list_saml_providers()
        for saml_provider in response.list_saml_providers_response.list_saml_providers_result.saml_provider_list:
            if saml_provider['arn'].endswith(':saml-provider/' + name):
                return saml_provider['arn']
        return False
    except boto.exception.BotoServerError as e:
        aws = __utils__['boto.get_error'](e)
        log.debug(aws)
        log.error('Failed to get ARN of SAML provider %s.', name)
        return False