pub fn assert_owner( store: &dyn Storage, sender: &Addr, ) -> Result<(), OwnershipError>
Assert that an account is the contract’s current owner.