The function f(x) returns 1 when its input x is -2, -1, 0, 1, or 2 and returns 0 for all other inputs.

