class Script {

    public boolean isSentToP2SH() {
        return chunks.size() == 3 &&
               chunks.get(0).equalsOpCode(OP_HASH160) &&
               chunks.get(1).data.length == Address.LENGTH &&
               chunks.get(2).equalsOpCode(OP_EQUAL);
    }

    private  Script();
      Script(List<ScriptChunk> chunks);
    public  Script(byte[] programBytes);
    public  Script(byte[] programBytes, long creationTimeSeconds);

}