# File lib/mcollective/agents.rb, line 85
    def activate_agent?(agent)
      klass = Kernel.const_get("MCollective").const_get("Agent").const_get(agent.capitalize)

      if klass.respond_to?("activate?")
        return klass.activate?
      else
        Log.debug("#{klass} does not have an activate? method, activating as default")
        return true
      end
    rescue Exception => e
      Log.warn("Agent activation check for #{agent} failed: #{e.class}: #{e}")
      return false
    end