The isEmpty method of the CookieDictionary class returns a boolean indicating whether there are any items in the CookieDictionary.
public boolean isEmpty();