code: def ego_search(self, steps=1, center=False, node=None, **kwargs):
          '''Get a list of nodes in the ego network of *node* of radius *steps*'''
          node = as_node(node if node is not None else self)
          G = self.subgraph(**kwargs)
          return nx.ego_graph(G, node, center=center, radius=steps).nodes(f ego_search(self, steps=1, center=False, node=None, **kwargs):
          '''Get a list of nodes in the ego network of *node* of radius *steps*'''
          node = as_node(node if node is not None else self)
          G = self.subgraph(**kwargs)
          return nx.ego_graph(G, node, center=center, radius=steps).nodes()
docs: Get a list of nodes in the ego network of *node* of radius *steps*