code: def application_simple_state(context, application):
      
      state_machine = get_state_machine(application)
      state = state_machine.get_state(application)
      return state.name
docs: Render current state of application, verbose.