Deleted duplicate method is_invalid_move