private boolean isValidInstruction(PseudoDisassembler pdis, Address target) {
//		try {
//			// look 8 instructions worth of fallthroughs to see if this
//			//   is a valid run of instructions.
//			for (int i=0; i < 10; i++) {
//				Instruction instr;
//				instr = pdis.disassemble(target);
//				if (instr == null) {
//					return false;
//				}
//				if (!instr.hasFallthrough()) {
//					return true;
//				}
//				target = instr.getFallThrough();
//			}
//		} catch (InsufficientBytesException e) {
//		} catch (UnknownInstructionException e) {
//		} catch (UnknownContextException e) {
//		}
		return false;
	}
Check if there is a valid instruction at the target address

@param pdis - pseudo disassembler
@param target - taraget address to disassemble
@return
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/OperandReferenceAnalyzer.java