check if resource locator already exists