public boolean isPresent(String key)
    {
        for (int bucketIndex : getHashBuckets(key)) {
            Bucket bucket = new Bucket(bucketIndex);
            if (bucket.value == 0) {
                return false;
            }
        }
        return true;
    }