function checkValueEqualsDefault(value, definedDefault) {
  return value === definedDefault;
}
Checks if value is equal to the defined default
Works in array types
@param {string} value - Value to check for
@param {*} definedDefault - The defined default value of the schema
@returns {Boolean} wheter value is equal to the defined or not