private boolean providerContainsRegion(long offset, int length) {
		try {
			return offset >= 0 && (offset + length) <= provider.length();
		}
		catch (IOException e) {
			return false;
		}
	}
Perform offset region check against byte provider.
This is done against the byte provider since the
reader is unbounded.
@param offset starting offset
@param length length of range
@return true if provider contains specified byte offset range
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java