is_blockchain_allowed

function is_blockchain_allowed(rule: rule, blockchain_rid: byte_array): boolean(source)

Utility function which returns whether a rule allows a certain blockchain_rid as sender.

Parameters

rule

the rule to check

blockchain_rid

the blockchain sender to check