<｜begin▁of▁sentence｜>### Instruction:
Given the Power Grid Graph which you can read from a gml file named power.gml, can you convert the node labels from strings to integers using the nx_node_integer_mapping function provided in cdlib's utilities?
### Response:
import networkx as nx
from cdlib.utils import nx_node_integer_mapping

# Loading power grid graph
G = nx.read_gml('power.gml')

# Mapping node labels from strings to integers
integer_graph, node_mapping, valid = nx_node_integer_mapping(G)

if valid:
    print('Node mapping:', node_mapping)
else:
    print('Graph already has integer node labels')
<|EOT|>
