def warn(warning: str):
    """
	Logs a warning to stderr.
	"""
    from sys import stderr
    from time import ctime
    if stderr.isatty():
        print('\x1b[38;2;238;216;78mWW:', warning, '-\t', ctime(), '\x1b[m',
            file=stderr)
    else:
        print('WW:', warning, '-\t', ctime(), file=stderr)
