```\n/// @notice Checks that the vin passed up is properly formatted\n/// @dev Consider a vin with a valid vout in its scriptsig\n/// @param \_vin Raw bytes length-prefixed input vector\n/// @return True if it represents a validly formatted vin\nfunction validateVin(bytes memory \_vin) internal pure returns (bool) {\n    uint256 \_offset = 1;\n    uint8 \_nIns = uint8(\_vin.slice(0, 1)[0]);\n\n    // Not valid if it says there are too many or no inputs\n    if (\_nIns >= 0xfd || \_nIns == 0) {\n        return false;\n    }\n```\n