Word legitimate in a sentence?

Having an allergy is a legitimate reason not to get a pet.