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: lazy_attributes.rb
    path of file: ./repos/gitlabhq/lib/gitlab/utils
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Gitlab
  module Utils
    module LazyAt
    
        def define_lazy_reader(name, type:)
          define_method(name) do
            strong_memoize("#{name}_lazy_loaded") do
              value = instance_variable_get("@#{name}")
              value = value.call if value.respond_to?(:call)
              value = nil if type && !value.is_a?(type)
              value
            end
          end
        end