I'd add also `return false unless other.is_a?(Grid::File)` here.