code: def notify_environment_active(controller_class):
      def real_decorator(function):
          def wrapper(self, *args, **kwargs):
              controller_obj = controller_class()
              if controller_obj.environment_driver.type == "docker":
                  # TODO: abstract the datmo_directory_name
                  if check_docker_inactive(
                      controller_obj.home, ".datmo"
                  ):
                      Helper.echo(
                          __("error", "general.environment.docker.na")
                      )
                      return
              return function(self, *args, **kwargs)
  
          return wrapper
  
      return real_decorator
  
imports: from __future__ import print_function
  from future import standard_library
  from builtins import input
  import os
  import sys
  import importlib
  import inspect
  import prettytable
  from io import open
  from datmo.core.util.i18n import get
  from datmo.core.util.exceptions import ArgumentError, ProjectNotInitialized
  from datmo.core.util.misc_functions import check_docker_inactive
label_desc: Use image node_id 12 for calling the Helper obj's underlying member method code with example usage: obj.notify_environment_active(controller_class) and returns: real_decorator, wrapper, function