getStrictness(typeOptions, parentStrictness) {
    if (!Object.prototype.hasOwnProperty.call(typeOptions, "strict")) {
      return parentStrictness;
    }

    return typeOptions.strict;
  }
@param {TypeOptions} typeOptions
@param {boolean} parentStrictness
@returns {boolean|TypeOptions}
@throws KuzzleInternalError