pub fn assert_owned_by(
    account: &AccountInfo<'_>,
    owner: &Pubkey
) -> ProgramResult
Expand description

Assert that the given account is owned by the given pubkey.