is_sender_allowed
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
Utility function which returns whether a rule allows a certain account ID as sender.
the rule to check
the sender ID to check