Use isTiled instead of pattern matching on RasterData type.