If the cli.dynamic option is set to TRUE, TRUE is returned.
If the cli.dynamic option is set to anything else, FALSE is
returned.
If the R_CLI_DYNAMIC environment variable is not empty and set to
the string "true", "TRUE" or "True", TRUE is returned.
If R_CLI_DYNAMIC is not empty and set to anything else, FALSE is
returned.
If the stream is a terminal, then TRUE is returned.
If the stream is hte standard output or error within RStudio,
the macOS R app, or RKWard IDE, TRUE is returned.
Otherwise FALSE is returned.