code: def error(text):
      """Display an error message"""
      print(red("✘ {0}".format(text)))
      sys.stdout.flush()
  
imports: from __future__ import unicode_literals, absolute_import
  import os
  import sys
  from datetime import datetime
  from invoke import task
label_desc: Use image node_id 5 for calling a global function with example usage: error(text) without return types