code: def btc_is_p2sh_script( script_hex ):
      
      if script_hex.startswith("a914") and script_hex.endswith("87") and len(script_hex) == 46:
          return True
      else:
          return False
docs: Is the given scriptpubkey a p2sh script?