fn is_allowed_session_caller(&self, provided_account_hash: &AccountHash) -> bool {
        if let Some(CallStackElement::Session { account_hash }) = self.get_immediate_caller() {
            return account_hash == provided_account_hash;
        }
        false
    }
/// Checks if immediate caller is of session type of the same account as the provided account
/// hash.
Checks if immediate caller is of session type of the same account as the provided account
hash.
Checks if immediate caller is of session type of the same account as the provided account hash .
fn is_allowed_session_caller(&self, provided_account_hash: &AccountHash) -> bool {
        if let Some(CallStackElement::Session { account_hash }) = self.get_immediate_caller() {
            return account_hash == provided_account_hash;
        }
        false
    }
fn is_allowed_session_caller ( & self , provided_account_hash : & AccountHash ) -> bool { if let Some ( CallStackElement :: Session { account_hash } ) = self . get_immediate_caller ( ) { return account_hash == provided_account_hash ; } false }
Checks if immediate caller is of session type of the same account as the provided account
hash.
Checks if immediate caller is of session type of the same account as the provided account hash .
&self
provided_account_hash
&AccountHash
&self
provided_account_hash
&AccountHash