There is some limitation in your approach: a part of the model ca have several styles
simultaneously, like ball&stick, trace, ribbon. They are not exclusive of one another. Then,
there is a numeric parameter indicating their size or thickness, and a color.
I'm not sure if there is a way to read those properties, but you would need to check all of
them, not a single value.