core: add isOwnNameLocallyAvailable