check if memcached is defined

Change-Id: I9957125239315bad9257054520f472b52d1559a4
3 files changed