check if one tries to access a field outside of the grid and return false in that case