hawtio 1606: Add api to check if a profile exists without getting an exception.