The documentation says that you can use `if` together with relations validations. Can anyone help me figure out how to use this?