Check by this method:-
[[UIApplication sharedApplication] isRegisteredForRemoteNotifications];
But if your app supports less than iOS 8 version then you have to do the checking like this:-
UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
if (types == UIRemoteNotificationTypeNone)
{
//notification is not enabled by user
}