<s> """<STR_LIT>""" <EOL> import networkx as nx <EOL> __author__ = """<STR_LIT:\n>""" . join ( [ '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> def is_isolate ( G , n ) : <EOL> """<STR_LIT>""" <EOL> return G . degree ( n ) == <NUM_LIT:0> <EOL> def isolates ( G ) : <EOL> """<STR_LIT>""" <EOL> return [ n for ( n , d ) in G . degree_iter ( ) if d == <NUM_LIT:0> ] </s>
