<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_lldp_neighbors_request(last_ifindex, rbridge_id):
 """ Creates a new Netconf request based on the last received or if rbridge_id is specifed ifindex when the hasMore flag is true """


        request_lldp = ET.Element(
            'get-lldp-neighbor-detail',
            xmlns="urn:brocade.com:mgmt:brocade-lldp-ext"
        )
        if rbridge_id is not None:
            rbridge_el = ET.SubElement(request_lldp, "rbridge-id")
            rbridge_el.text = rbridge_id
        elif last_ifindex != '':
            last_received_int = ET.SubElement(request_lldp,
                                              "last-rcvd-ifindex")
            last_received_int.text = last_ifindex

        return request_lldp