Check if PushPlugin is registered

I call pushNotification.register() when my device is ready but it happens every time i run the app. So what would be the most appropriate way to check if its been already registered? Should I just use localStorage for this kind of things?