Check the return value, not the function address.