fixes #2614 maintenance

Signature should be;

````java
boolean hasEventRegistration(String serviceName, String topic);
````