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: priv.rb
    path of file: ./repos/metasploit-framework/lib/msf/core/post/android
    
    the code of the file until where you have to start completion: # -*- coding: binary -*-

module Msf
cl
    
  def is_root?
    id = cmd_exec('id')
    uid = id.scan(/uid=(\d+)(.+)/).flatten.first
    if /^0$/ === uid
      return true
    else
      return false
    end