Safer implementation of isPersisted
Safer implementation of isPersisted

Checks to see if object is initialized, does manual check instead of
calling getField (which can throw various Java exceptions).

spotify/JniHelpers,spotify/JniHelpers,spotify/JniHelpers,spotify/JniHelpers