in src/main/java/org/apache/sling/commons/jcr/file/internal/JcrFile.java [166:173]
public boolean isFile() {
logger.info("is file {}", path);
try {
return fileSystem.provider().isFile(getNode());
} catch (Exception e) {
throw new RuntimeException(e);
}
}