Add method Robot#next_position_valid?