Determine if a signature is valid for an account.
AccountInstance
The instance of the account used for testing.
address
The address of the validator contract.
bytes32
The hash to validate the signature against. Note: this should be the unformatted hash and not the formatted hash that is signed.
bytes
The signature to validate. Note: this should be the unformatted signature.
bool
True if the signature is valid, false otherwise.