is_rule_active

function is_rule_active(r: gtv, variables: map<text, gtv>): boolean