Change record status: 
Project: 
Introduced in branch: 
9.4.x
Introduced in version: 
9.4.0-alpha1
Description: 

The Drupal\Core\Extension\Extension class now includes a public isObsolete() method. It returns TRUE if the extension has been marked obsolete via lifecycle: obsolete in its .info.yml file, otherwise FALSE.

Impacts: 
Module developers
Themers
Site templates, recipes and distribution developers