You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: gitaly_keyset_pager.rb
    path of file: ./repos/gitlabhq/lib/gitlab/pagination
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Gitlab
  module Pagination
    class GitalyKeysetPager
      attr_reader :request_contex
    
      def keyset_pagination_enabled?(finder)
        return false unless params[:pagination] == "keyset"

        case finder
        when BranchesFinder
          Feature.enabled?(:branch_list_keyset_pagination, project)
        when TagsFinder
          true
        when ::Repositories::TreeFinder
          Feature.enabled?(:repository_tree_gitaly_pagination, project)
        else
          false
        end