/**
  * Checks if it is ok to inject debug output into the response
  *
  * @param      AgaviExecutionContainer $container
  * @return     boolean
  */
 protected function isAllowedOutputType(AgaviExecutionContainer $container)
 {
     $outputTypes = $this->rq->getAttribute('options[output_types]', AdtDebugFilter::NS);
     $currentOutputType = $container->getResponse()->getOutputType()->getName();
     return $container->getResponse()->isContentMutable() && (!is_array($outputTypes) || in_array($currentOutputType, $outputTypes));
 }