public static boolean isEmpty(File f) {
		if (f == null) {
			return true;
		}
		return f.isFile() && f.length() == 0;
	}
Returns true if the given file:
<ol>
 <li> is <code>null</code>, or  </li>
	<li>{@link File#isFile()} is true, </li>
 <li>and {@link File#length()} is == 0.</li>
 </ol>

@param f the file to check
@return true if the file is not empty
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java