<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _check_listening_on_ports_list(ports):
 """Check that the ports list given are being listened to Returns a list of ports being listened to and a list of the booleans. @param ports: LIST or port numbers. """

    ports_open = [port_has_listener('0.0.0.0', p) for p in ports]
    return zip(ports, ports_open), ports_open