class_docstr: TestRule class
class_docstr_tok: ["TestRule","class"]
docstr: Rule - Is Staged = True
docstr_tok: ["Rule","-","Is","Staged","=","True"]
code: def test_rule_is_staged(self):
      """Rule - Is Staged = True"""
      table = rule_table.RuleTable("table")
      table._remote_rule_info = {"test_rule": {"Staged": True}}
  
      def test_rule(_):
          return True
  
      # Test rule is not staged
      staged_rule = test_rule = rule.Rule(test_rule, logs=["bar"])
      assert_equal(staged_rule.is_staged(table), True)
  
imports: import hashlib
  from mock import patch
  from nose.tools import assert_equal, assert_true, raises
  from streamalert.shared import rule, rule_table
label_desc: Use image node_id 20 for calling the TestRule obj's underlying member method code with example usage: obj.test_rule_is_staged() and returns: True