Check if a string has ANSI escape codes
npm install has-ansi
yarn add has-ansi
pnpm add has-ansi
bun add has-ansi