Returns true if the glob pattern constains the segments that crosses the directoty.
bool? get crossesDirectory => _crossesDirectory;