<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_port_chann_detail_request(last_aggregator_id):
 """ Creates a new Netconf request based on the last received aggregator id when the hasMore flag is true """


        port_channel_ns = 'urn:brocade.com:mgmt:brocade-lag'
        request_port_channel = ET.Element('get-port-channel-detail',
                                          xmlns=port_channel_ns)

        if last_aggregator_id != '':
            last_received_port_chann_el = ET.SubElement(request_port_channel,
                                                        "last-aggregator-id")
            last_received_port_chann_el.text = last_aggregator_id
        return request_port_channel