checkSequence

fun checkSequence(    sequence: Long,     tx: Transaction,     inputIndex: Int): Boolean