jQuery already does this test to you. Just keep `event.preventDefault()`.