hof: Removed unnecessary "if" in is_odd() definition.

Removed unnecessary "if" in is_odd() definition in Higher Order Functions example.