Be more strict in checking the resultCode of memcached hasKey function

Memcached hasKey should test for success, the `get` can fail for other reasons.

One of the other failures is no running server.