<｜begin▁of▁sentence｜>### Instruction:
As a probation officer, part of your role involves assessing risks and facilitating rehabilitation for individuals under your supervision. Imagine you're overseeing a group of individuals recently released from correctional facilities or juvenile detention. Among them are individuals labeled as "vertices" in a network. Your task is to ensure that these individuals are effectively reintegrating into society, which includes monitoring their interactions and connections.

Now, let's say you're provided with information about the connections between these individuals, represented as edges in a graph. For instance, you're given a list of edges [(0, 1), (0, 2), (1, 2), (3, 4)], indicating relationships between individuals.

In this scenario, you're asked to utilize a tool called "are_connected" provided by the igraph API. This tool allows you to check whether specific individuals, represented as vertices in the graph, are directly connected or have a direct relationship. For example, you might need to determine if there's a direct connection between individual 0 and individual 3, signifying a potential interaction or relationship between them.

By leveraging this functionality, you can gain insights into the social connections and dynamics within the group you're supervising, helping you to better understand their behaviors, assess potential risks, and tailor your interventions to support their rehabilitation and successful reintegration into the community.
### Response:
from igraph import Graph

# Create a graph with given edges
edges = [(0, 1), (0, 2), (1, 2), (3, 4)]
g = Graph(edges=edges)

# Check if two vertices are connected
v1 = 0
v2 = 3
connected = g.are_connected(v1, v2)

# Print the result
print(f'Vertices {v1} and {v2} are connected: {connected}')
<|EOT|>
