private boolean isPertinent(Event e) {
        return (e.getPayload() instanceof ServicePayload)
               && ((ServicePayload)e.getPayload()).getService().getTags().contains(discovery.getType());
    }
private boolean isPertinent(Event e) {
        return (e.getPayload() instanceof ServicePayload)
               && ((ServicePayload)e.getPayload()).getService().getTags().contains(discovery.getType());
    }
private boolean isPertinent ( Event e ) { return ( e . getPayload ( ) instanceof ServicePayload ) && ( ( ServicePayload ) e . getPayload ( ) ) . getService ( ) . getTags ( ) . contains ( discovery . getType ( ) ) ; }
helpers
helpers