<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def warning(message):
	''' Prints a message if warning mode is enabled. '''

	import lltk.config as config
	if config['warnings']:

		try:
			from termcolor import colored
		except ImportError:
			def colored(message, color):
				return message

		print colored('@LLTK-WARNING: ' + message, 'red')