Description

IsPayToScriptHash returns true if the script is in the standard pay-to-script-hash (P2SH) format, false otherwise.

IsPayToScriptHash is referenced in 2 repositories

github.com/btcsuite/btcd

...