export const isReference = (value: unknown): value is Reference =>
  isObject(value) && value.hasOwnProperty('$ref')