I think ClusteringDependentLogic.localNodeIsOwner should handle local, replicated and distributed scenarios correctly. If so you don't need this method at all.