check the uri localpart for definedness