export const requiredIfOtherFieldIsGiven = (otherFieldName) => {
  return (params) => {
    const otherFieldValue = get(params.siblings, otherFieldName, null)
    if (!isEmptyValue(otherFieldValue)) {
      return required(params)