def isRaster(self, filePath):
        try:
            dataset = gdal.Open(filePath, gdalconst.GA_ReadOnly)
            if dataset is None:
                return False
            else:
                return True
                del dataset
        except:
            return False
Verifies that a pased file and path is recognized by
dataset/ETHPy150Open VisTrails/VisTrails/contrib/sahm/pySAHM/MDSBuilder.py/MDSBuilder.isRaster