Utility function to check if the transaction initiator is a Wallet object
Wallet or Keypair in question
Utility function to check if the transaction initiator is a Wallet object