File file = new File(path);
boolean empty = !file.exists() || file.length() == 0;
which can shortened to:
boolean empty = file.length() == 0;
since according to documentation the method returns
The length, in bytes, of the file denoted by this abstract pathname, or 0L if the file does not exist