It would be more idiomatic to write
```
        if !(c in _supported_graph_concept_symbols)
```
here and below