code: function isValidState(state, isBee) {
    const validStates = isBee ? BEE_STATES : BULL_STATES;
    return _.includes(validStates, state);
  }
docs: Determines if the requested job state lookup is valid.
  
  @param {String} state
  @param {Boolean} isBee States vary between bull and bee
  
  @return {Boolean}