<｜begin▁of▁sentence｜>### Instruction:
As an artist who creates visual art for commercial purposes, you may need to work with complex networks to represent relationships between artistic elements. If you are using the NetworkX library in Python to analyze these networks, the following scenario might arise: When working with a graph object, you may need to determine if the graph has been assigned a name using the `is_named` function in NetworkX.
### Response:
from igraph import Graph

# Create a graph
graph = Graph(3)

# Assign a name to the graph
graph['name'] = 'MyGraph'

# Check if the graph is named
is_named = graph.is_named()
print('Is the graph named?', is_named)
<|EOT|>
