unless(bothCheck(isDeleteTypeDefined, isIn), {
      code: 400,
      msg: 'If the deleteType is specified it should be one of: ' + deleteValues.join(', ')
    })(options.deleteType, deleteValues);