Returns true if second band of raster is a mask
isMaskedRaster(raster)
raster
SpatRaster object containing a single layer