this check should be in client code (e.g. gns-api)