$licensetype->isValidCode() Checks for a valid license code by prefix and length. This is just a rough validation. kirby/src/Cms/LicenseType.php#L57 $licensetype->isValidCode(?string $code): bool Parameters Name Type Default $code * string|null – Return type bool Parent class Kirby\Cms\LicenseType