Check if a string has some ANSI styling
Examples
## The second one has style if crayon is enabled
has_style("foobar")
#> [1] FALSE
has_style(red("foobar"))
#> [1] TRUE
Check if a string has some ANSI styling
## The second one has style if crayon is enabled
has_style("foobar")
#> [1] FALSE
has_style(red("foobar"))
#> [1] TRUE