"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDomainForLegacySite = isDomainForLegacySite;
const is_guid_1 = require("../../utils/is-guid");
/**
 * Determine if a domain entry belongs to a legacy site.
 * This is used to allow customers to "reclaim" domains that
 * were associated with legacy sites which can no longer be
 * edited.
 * @param {IHubDomain} domainEntry Domain Info record
 */
function isDomainForLegacySite(domainEntry) {
    return !(0, is_guid_1.isGuid)(domainEntry.siteId);
}
//# sourceMappingURL=is-domain-for-legacy-site.js.map