"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLogoSet = isLogoSet;
exports.isHeaderSet = isHeaderSet;
const get_1 = __importDefault(require("lodash/get"));
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
function isLogoSet(logo) {
    return Boolean((0, get_1.default)(logo, 'icon') || (0, get_1.default)(logo, 'light.icon'));
}
function isHeaderSet(header) {
    return !(0, isEmpty_1.default)(header === null || header === void 0 ? void 0 : header.leftItems);
}
