rast()
Check whether SpatRaster is an empty rast()
rast.has.values(x)
x
SpatRaster to be checked
a boolean