$license->isInactive()
The license is still valid for the currently installed version, but it passed the 3 year period.
$license->isInactive(): bool
Return type
bool
This method modifies the existing $license
object it is applied to and returns it again.