How to check if actor exists in akka cluster?

I need to check if whether particular actor exists or not which can be done via ActorSystem.actorSelection method by specifying actor path.

However this method works correctly when such actor exists on your our node. If actor-system is formed by multiple nodes and actor exists on another node, this method tells that actor doesn’t exist. If I give string that specifies remote actor-system then this method works.

But this doesn’t seem very good idea to specify remote actor-system string in actorSelection method.

Address address = new Address("akka.tcp", "ReactorCluster",  "", 4002);
ActorSelection selection = getContext().actorSelection(address +"/user/worker" );
selection.tell("hi", self());

Let me know your thoughts on this