Is the given scriptpubkey a p2sh script?

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