galois.is_group

class galois.is_group(obj)[source]

Determines if the object is a finite group array class created from galois.Group() or one of its instances.

Parameters

obj (type) – Any object.

Returns

True if obj is a finite group array class generated from galois.Group() or one of its instances.

Return type

bool