let isInstalled = false; try { isInstalled = !!require.resolve('zod'); } catch (e: any) { isInstalled = false; } export const isZodInstalled = isInstalled;