public static boolean checkAlarmService(Context context,PendingIntent servicePendingIntent){
  final Intent i=new Intent(context,GithubWidgetService.class);
  return PendingIntent.getService(context,0,i,PendingIntent.FLAG_NO_CREATE) != null;
}

public static boolean checkAlarmService ( Context context , PendingIntent servicePendingIntent ) { final Intent i = new Intent ( context , GithubWidgetService . class ) ; return PendingIntent . getService ( context , 0 , i , PendingIntent . FLAG_NO_CREATE ) != null ; }
check whether a pendingintent is register in alarmmanager . there may be something wrong in this method .
