The return value in the code example is the opposite of what the code would actually return, making the example misleading.