Check equality of this material against another via its tuple.
(self, other)
| 156 | return hash(self.toTuple()) |
| 157 | |
| 158 | def __eq__(self, other): |
| 159 | """ |
| 160 | Check equality of this material against another via its tuple. |
| 161 | """ |
| 162 | return self.toTuple() == other.toTuple() |
| 163 | |
| 164 | def __getstate__(self) -> Tuple[str, str, float, str]: |
| 165 | """ |