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: element_proxy.rb
    path of file: ./repos/ae_page_objects/lib/ae_page_objects
    
    the code of the file until where you have to start completion: module AePageObjects
  class ElementProxy
    # Remove all instance methods so eve
    
    def wait_until_present(timeout = nil)
      with_reloaded_element(timeout) do
        !@loaded_element.nil?
      end

    rescue AePageObjects::WaitTimeoutError
      raise ElementNotPresent, "element_class: #{@element_class}, options: #{@options.inspect}"
    end