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: client.rb
    path of file: ./repos/postal/app/lib/smtp_server
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module SMTPServer
  class Client

    extend HasPrometheusMetrics
    include HasPrometheusMetrics

    CRAM_MD5
    
    def check_ip_address
      return unless @ip_address &&
                    Postal::Config.smtp_server.log_ip_address_exclusion_matcher &&
                    @ip_address =~ Regexp.new(Postal::Config.smtp_server.log_ip_address_exclusion_matcher)

      @logging_enabled = false
    end