public static function isCalledByWhoops() : bool
  {
    /**
     * Get trace
     */
    $trace = debug_backtrace();

    $trace = end($trace);

    return isset($trace['class']) && $trace['class'] == 'Whoops\Run';
  }