def has_line_type?(line_type)
      return true if @lines.length == 1 && @lines[0][:line_type] == line_type.to_sym
      @lines.find { |l| l[:line_type] == line_type.to_sym }
    end
def has_line_type?(line_type)
      return true if @lines.length == 1 && @lines[0][:line_type] == line_type.to_sym
      @lines.find { |l| l[:line_type] == line_type.to_sym }
    end
Checks whether the given line type was parsed from the log file for this request