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: linux.rb
    path of file: ./repos/chef/lib/chef/provider/mount
    
    the code of the file until where you have to start completion: #
# Author:: Antima Gupta (<agupta@chef.io>)
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License,
    
        def mounted?
          mounted = false
          real_mount_point = if ::File.exist? @new_resource.mount_point
                               ::File.realpath(@new_resource.mount_point)
                             else
                               @new_resource.mount_point
                             end