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: mssql.rb
    path of file: ./repos/metasploit-framework/lib/msf/core/post/windows
    
    the code of the file until where you have to start completion: # -*- coding: binary -*
    
        def get_system
          print_status('Checking if user is SYSTEM...')

          if is_system?
            print_good('User is SYSTEM')
            return true
          else
            # Attempt to get LocalSystem privileges
            print_warning('Attempting to get SYSTEM privileges...')
            system_status = session.priv.getsystem
            if system_status && system_status.first
              print_good('Success, user is now SYSTEM')
              return true
            else
              print_error('Unable to obtained SYSTEM privileges')
              return false
            end