use class
Grid.contains