Utility that tells us whether we're running a debug build (__DEV__) and/or are "staff" (isStaff(state.currentUserInfo.id)) and/or are on a staff release (isStaffRelease).
In subsequent diff will use this function where isStaff || __DEV__ checks were used in the past.