checkLicenseStatus
Checks the status of a license.
Feature request check is done if provided and no critical errors are found in the license.
Return
LicenseStatus enum indicating the license status.
Parameters
license
The license string to verify.
featureName
Optional feature name to verify.
Throws
If the licensing library cannot be loaded.