protected static function is_current_output_buffer() : bool {
        if (empty(self::$taskloginfo)) {
            return false;
        }

        if ($ob = ob_get_status()) {
            return 'core\\task\\logmanager::add_line' == $ob['name'];
        }

        return false;
    }
protected static function is_current_output_buffer() : bool {
        if (empty(self::$taskloginfo)) {
            return false;
        }

        if ($ob = ob_get_status()) {
            return 'core\\task\\logmanager::add_line' == $ob['name'];
        }

        return false;
    }
protected static function is_current_output_buffer ( ) : bool { if ( empty ( self :: $ taskloginfo ) ) { return false ; } if ( $ ob = ob_get_status ( ) ) { return 'core\\task\\logmanager::add_line' == $ ob [ 'name' ] ; } return false ; }
Whether we are the current log collector.

@return  bool
Whether we are the current log collector .