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: system_init_done.rb
    path of file: ./repos/zammad/spec/support
    
    the code of the file until where you have to start completion: # Copyright (C) 2012-2024 Zammad Foun
    
  def system_init_done(state = true)
    # generally allow all calls to Setting.exists? to avoid
    # RSpec errors where a different Setting is accessed
    allow(Setting).to receive(:exists?).and_call_original

    # just mock the Setting check for `system_init_done`
    # and return the given parameter value
    allow(Setting).to receive(:exists?).with(name: 'system_init_done').and_return(state)
  end