'Adds ssl_certificate_id to ELB API tuple if present'

def _api_listener_as_tuple(self, listener):

    base_tuple = listener.get_complex_tuple()
    if (listener.ssl_certificate_id and (len(base_tuple) < 5)):
        return (base_tuple + (listener.ssl_certificate_id,))
    return base_tuple
