def is_throttled(e):
    """
    Determines whether the exception is due to API throttling.

    :param e:                           Exception raised
    :return:                            True if it's a throttling exception else False
    """
    return True if hasattr(e, 'response'
        ) and 'Error' in e.response and e.response['Error']['Code'] in [
        'Throttling', 'RequestLimitExceeded', 'ThrottlingException',
        'TooManyRequestsException'] else False
