pub fn memo_required(account_state: &StateWithExtensionsMut<Account>) -> bool {
    if let Ok(extension) = account_state.get_extension::<MemoTransfer>() {
        return extension.require_incoming_transfer_memos.into();
    }
    false
}
/// Determine if a memo is required for transfers into this account
Determine if a memo is required for transfers into this account
Determine if a memo is required for transfers into this account
pub fn memo_required(account_state: &StateWithExtensionsMut<Account>) -> bool {
    if let Ok(extension) = account_state.get_extension::<MemoTransfer>() {
        return extension.require_incoming_transfer_memos.into();
    }
    false
}
pub fn memo_required ( account_state : & StateWithExtensionsMut < Account > ) -> bool { if let Ok ( extension ) = account_state . get_extension :: < MemoTransfer > ( ) { return extension . require_incoming_transfer_memos . into ( ) ; } false }
Determine if a memo is required for transfers into this account
Determine if a memo is required for transfers into this account
account_state
&StateWithExtensionsMut<Account>
account_state
&StateWithExtensionsMut<Account>