VE-717 Better name for method that sets cookie, checking if cookie should be set before calling setCookie method