original_string: private static function checkContextException(array $context = array())
      {
          if (isset($context["exception"])) {
              $includes_exception = $context["exception"] instanceof \Exception;
          } else {
              $includes_exception = false;
          }
  
          return $includes_exception;
      }
code: private static function checkContextException(array $context = array())
      {
          if (isset($context["exception"])) {
              $includes_exception = $context["exception"] instanceof \Exception;
          } else {
              $includes_exception = false;
          }
  
          return $includes_exception;
      }
code_tokens: private static function checkContextException ( array $ context = array ( ) ) { if ( isset ( $ context [ "exception" ] ) ) { $ includes_exception = $ context [ "exception" ] instanceof \ Exception ; } else { $ includes_exception = false ; } return $ includes_exception ; }
docstring: Determines whether a context array contains an Exception.
  
  @param array $context    PSR-3 context array.
  @return bool             Returns true if the context array contains an element identified by an "exception" key
  AND the value that corresponds with the "exception" key is an Exception.
  Returns false otherwise.
docstring_tokens: Determines whether a context array contains an Exception .