'Asserts that the sg rule has expected key/value pairs passed
in as expected_kvs dictionary'

def _assert_sg_rule_has_kvs(self, security_group_rule, expected_kvs):

    for (k, v) in expected_kvs.items():
        self.assertEqual(security_group_rule[k], v)
