function hasData(stateObject) {
  return !!stateObject.data && stateObject.data.length > 0;
}
Does this initial state object have data?
@param (object) stateObject - a non-immutable state object for initialization