Test if the object is a grid
is_grid(x, grid_size = NULL)
x
An object.
grid_size
A grid size.
TRUE if the object inherits from the grid class.
TRUE
grid