As of stencil-utils 2.0.0, the storefront API which returns the status of the cookie notification feature was removed:

This API is now deprecated, and will return a hardcoded response. Accordingly, it is recommended for all users to upgrade to stencil-utils 2.0.0 or later.

Furthermore, we recommend using our latest solution for Shopper Cookie Consent tracking and management, which you can find here: