public synchronized boolean isLocatorCurrentInDiscoveryLayer(Locator loc) {
        LocatorCacheEntry entry = insertedLocators.getIfPresent(loc.toString());
        return entry != null && entry.isDiscoveryCurrent();
    }
public synchronized boolean isLocatorCurrentInDiscoveryLayer(Locator loc) {
        LocatorCacheEntry entry = insertedLocators.getIfPresent(loc.toString());
        return entry != null && entry.isDiscoveryCurrent();
    }
public synchronized boolean isLocatorCurrentInDiscoveryLayer ( Locator loc ) { LocatorCacheEntry entry = insertedLocators . getIfPresent ( loc . toString ( ) ) ; return entry != null && entry . isDiscoveryCurrent ( ) ; }
Checks if Locator is recently inserted in the discovery layer

@param loc
@return
Checks if Locator is recently inserted in the discovery layer