<｜begin▁of▁sentence｜>### Instruction:
Imagine we are exploring the enchanted forest of data in our digital ecosystem, akin to examining the vibrant life interconnected within a natural woodland. Here, we have the mystical graph G, a web of nodes and links akin to the roots and vines that encompass the healing herbs and plants we hold dear. We seek to ensure that the essences—the weights—of the connections that flow between these nodes are of a pure and natural form, that is, real numbers, untainted by the supernatural or the imaginary.

In our quest for this verification, there exists an ancient scroll from the graspologic apothecary, known as `is_real_weighted`. Can we use this revered incantation to divine whether each and every essence fused into the edges of our graph G flows with the purity of real numbers, reflecting the true potency of our herbal network without any mythical or illusory influences?
### Response:
import networkx as nx
from graspologic.preconditions import is_real_weighted

# Create a weighted graph with NetworkX
G = nx.Graph()
G.add_edge(1, 2, weight=0.5)
G.add_edge(2, 3, weight='a')  # This will cause is_real_weighted to return False

# Check if the graph is a real weighted graph
is_weighted = is_real_weighted(G, weight_attribute='weight')
print(f'Graph is real weighted: {is_weighted}')
<|EOT|>
