How to verify a cookie exists?

Is there anyway to verify whether or not a cookie exists with some of the built-in keywords?

I don’t think so with built in keywords, but a good opportunity to create a custom keyword.

WebDriver driver = DriverFactory.getWebDriver()
Set<Cookie> allcookies = driver.manage().getCookies()
println allcookies