This function checks if a given file is a valid RData file by verifying its
extension and attempting to load it. It uses the LoadAs to load the file.
If the file loads successfully and the object exists, it returns TRUE
. If
the file cannot be loaded or the object does not exist, it returns FALSE
.