[This is preliminary documentation and subject to change.]
You can use content-class to determine whether an item in the Exchange store is a Contact object.