pub fn check_account_owner(
    account: &AccountInfo<'_>,
    owner: &Pubkey,
    error: AccessError
) -> ProgramResult