has Listener
Checks if a socket has a listener registered for the given event.
Return
true if listener exists, false otherwise
Parameters
socket
Socket to check
event Name
Name of the event
Checks if a socket has a listener registered for the given event.
true if listener exists, false otherwise
Socket to check
Name of the event