isconsole

KIWI - Collection of Boot Helper Tools

Fedora
RUN dnf install -y kiwi-tools
click the source code to copy install isconsole on any operating system with command-not-found.com