detects if race is jumps or flat