Is it possible to determine if an entity or device is disabled in Jinja2?

Is there some built-in function that will determine if an entity or device is disabled that can be used within Jinja?

Alternatively, it looks like core.entity_registry indicates when an entity has been disabled, is there any way to get that JSON into a template or Jinja2 object for examination?

I answered my own question here Unavailable / Unknown Entity Monitoring - Template Sensor - Share your Projects! - Home Assistant Community (home-assistant.io)