You could use the Attributes in FileDocument entity to check if the binary file exists and has contents.
!= empty check if the object is not empty. HasContents will tell you if the file really has some contents.
Additionally you can also use size if you want.