<s>[INST] determines whether a notification should hold a foreground service to keep gecko alive concode_field_sep Notification mForegroundNotification concode_elem_sep ConcurrentHashMap<Integer,Notification> mNotifications concode_elem_sep NotificationManagerCompat mNotificationManager concode_elem_sep Context mContext concode_elem_sep int mForegroundNotificationId concode_field_sep void add concode_elem_sep void add concode_elem_sep void updateForegroundNotification concode_elem_sep void setForegroundNotification concode_elem_sep void update concode_elem_sep boolean isDone concode_elem_sep void remove [/INST] boolean function ( int arg0 ) { final Notification loc0 = mNotifications . get ( arg0 ) ; return isOngoing ( loc0 ) ; </s>