import Immutable from 'immutable'
import { createSelector } from 'reselect'

export const selectAnnouncementCollection = state => state.json.get('announcements', Immutable.Map())

export const selectAnnouncement = createSelector(
  [selectAnnouncementCollection], collection =>
    collection.first() || Immutable.Map(),
)

export const selectIsAnnouncementUnread = createSelector(
  [selectAnnouncementCollection], collection => Boolean(collection && Object.keys(collection)[0]),
)


@@ -449,20 +449,8 @@
  && 
-Object.keys(
 coll
@@ -459,12 +459,13 @@
 tion
-)%5B0%5D
+.size
 ),%0A)

Use unread announcement lookup as Immutable object