Ruby 2.2.0 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::BNクラス > zero?
zero? -> bool
自身が 0 である場合に true を返します。