'Find out if the elb has a proxy protocol enabled'

def _get_proxy_protocol_policy(self):

    if ((self.elb.policies is not None) and (self.elb.policies.other_policies is not None)):
        for policy in self.elb.policies.other_policies:
            if (policy.policy_name == 'ProxyProtocol-policy'):
                return policy.policy_name
    return None
