function isSet(input) {
  if (!input) {
    return new Error('Required field');
  }

  return true;
}
Check if the value is not an empty value

- Throw `Required field` if empty

@param  {String} input
@return {Boolean}