Check if a number is even

the bitwise operator

newY="281"
eCheck=$(( $newY & 1 ))