is_sender_allowed

function is_sender_allowed(rule: rule, sender_id: byte_array): boolean(source)

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

Parameters

rule

the rule to check

sender_id

the sender ID to check