Yes, unfortunately it seems the only way to do it is by getting the app list and checking the app ids against it.