commons/core/src/main/java/org/ldp4j/net/Path.java
public boolean isOutOfScope() {
		// Files are always on scope
		if(this.directory==null) {
			return false;
		}

		// First, normalize
		final Path normalize=normalize();

		// If now we are a file, we are in scope
		if(normalize.directory==null) {
			return false;
		}

		// If we find a segment which is '..' we are out of scope
		final String[] segments=normalize.segments();
		boolean result=false;
		for(int i=0;i<segments.length && !result;i++) {
			result=isDotSegment(segments[i]);
		}
		return result;
	}
public boolean isOutOfScope() {
		// Files are always on scope
		if(this.directory==null) {
			return false;
		}

		// First, normalize
		final Path normalize=normalize();

		// If now we are a file, we are in scope
		if(normalize.directory==null) {
			return false;
		}

		// If we find a segment which is '..' we are out of scope
		final String[] segments=normalize.segments();
		boolean result=false;
		for(int i=0;i<segments.length && !result;i++) {
			result=isDotSegment(segments[i]);
		}
		return result;
	}
Checks if the path is out of the scope.

@return {@code true}, if is out of the scope, {@code false} otherwise