<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=800, p=0.3, can you use RandomWalkWithJumpSampler to sample a subgraph which has 100 nodes and check the sampled graph is connected or not?
### Response:
import networkx as nx
from littleballoffur import RandomWalkWithJumpSampler

G = nx.gnp_random_graph(n=800, p=0.3)

sampler = RandomWalkWithJumpSampler(100, seed=42, p=0.1)

sampler_G = sampler.sample(G)

result = nx.is_connected(sampler_G)

print(result)
<|EOT|>
