how do you tell if a function is even or odd?

If f(x) = f(-x) it is even

If f(x) = -f(-x) it is odd.
If neither is true, then it is neither even nor odd.