checks if move is available