Please use the is_admin? method included on the Msf::Post::Windows::Priv mixin