ee/packages/license/src/validation/isReadyForValidation.ts
import type { LicenseManager } from '../license';
import { hasAllDataCounters } from './getCurrentValueForLicenseLimit';
// Can only validate licenses once the workspace URL and the data counter functions are set
export function isReadyForValidation(this: LicenseManager) {
return Boolean(this.getWorkspaceUrl() && hasAllDataCounters.call(this));
}