The property indicates whether a valid license has been applied; returns True if a license is applied, otherwise False.
Example
fromgroupdocs.assemblyimportLicenseimportos# Apply license from a file pathLicense().set_license("GroupDocs.Assembly.lic")# Apply license from a binary stream (e.g., when bundled as a resource)license_path=os.environ.get("GROUPDOCS_LIC_PATH","GroupDocs.Assembly.lic")ifos.path.exists(license_path):withopen(license_path,"rb")asstream:License().set_license(stream)print("License applied successfully.")else:print("License file not found. Running in evaluation mode.")