The function seems to output 1 when the input is a non-zero integer, and it outputs 0 when the input is 0 or a non-integer.

