import { TEMPLATE_ORIGINS } from "./constants";
function isTemplateRemovable(template) {
  if (!template) {
    return false;
  }
  return template.source === TEMPLATE_ORIGINS.custom && !Boolean(template.plugin) && !template.has_theme_file;
}
export {
  isTemplateRemovable as default
};
//# sourceMappingURL=is-template-removable.js.map
