protected boolean isInvalid() {
		return !deleted && invalidateCount != getCurrentValidationCount();
	}
Returns true if object is currently invalid and must be validated prior to further use. 
A deleted object will be considered valid since it cannot be refreshed.
An invalid object may result from a cache invalidation which corresponds to wide-spread 
record changes.  A common situation where this can occur is an undo/redo operation
against the underlying database.  The methods {@link #checkIsValid()}, {@link #checkDeleted()},
{@link #validate(Lock)} and {@link #isDeleted(Lock)} are methods which will force
a re-validation if required.

@return true if this object is invalid and must be re-validated, else false if object state
is currently valid which may include a deleted state.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/DatabaseObject.java