public boolean apply(File input) {
            return input.isFile();
        }
Predicate that returns true, when a {@link File}-object points actually to a file.
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileFinder.java