private boolean equals(Varnode v, Scalar value) {
		Scalar s = new Scalar(v.getSize() * 8, v.getOffset(), value.isSigned());
		return s.getValue() == value.getValue();
	}
Check for value equality between a constant varnode and a scalar value.

@param v constant varnode
@param value scalar value
@return true if values are equals
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java