<｜begin▁of▁sentence｜>### Instruction:
As a Regulatory Affairs Manager, you may need to verify if a specific product or service complies with certain regulations. In this case, you may need to use the "are_connected" function in igraph to check if certain components or processes within the product or service are directly connected. This can help ensure that all necessary elements are linked appropriately for compliance and regulatory submissions.
### Response:
import igraph as ig

# Create a graph with 4 vertices and 3 edges
edges = [(0, 1), (1, 2), (2, 3)]
g = ig.Graph(edges=edges)

# Check if vertex 0 and vertex 3 are connected
directly_connected = g.are_connected(0, 3)

print('Are vertex 0 and vertex 3 directly connected?', directly_connected)
<|EOT|>
