the ajax call will return an empty array - I'd not add any further checks - especially not for the existence of a specific app.

The contacts api is independent of the contacts app.