@Override
	public boolean isValid(Program p) {
		if (!super.isValid(p)) {
			return false;
		}
		return getVariable() != null;
	}
Checks to see if this location is for the indicated variable.
@param var the variable
@return true if this location is for the specified variable.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/VariableLocation.java