Added If

Closes https://github.com/PistonDevelopers/rust-event/issues/93