function odd = isOdd(a)
%ISODD True if given number is odd.

%   Author: Damien Teney

if mod(a, 2) == 1
  odd = true;
else
  odd = false;
end
