is_valid_CSScode# ssip.basic_functions.is_valid_CSScode(C: CSScode) → bool[source]# Check whether a CSScode is valid, i.e. the generators commute. Parameters: C – The CSScode to check. Returns: True if the generators commute, False otherwise.