export default function checkIfIsMaster({ dbContext, dbFullName }) { return (dbContext === null || dbContext === void 0 ? void 0 : dbContext.match(/dsql.user/i)) ? false : global.DSQL_USE_LOCAL ? true : dbFullName && !dbFullName.match(/^datasquirel$/) ? false : true; }