b = isComplete X
isComplete just calls an entry in the hash table of the Fan. The check for completeness is done while generating the fan. Whenever a full dimensional Cone is added (see fan or addCone) the set of faces of codimension 1 that appear only in one full dimensional Cone is updated. The Fan is then complete if and only if this set is empty and there is at least one full dimensional Cone.
For a PolyhedralComplex the function does the same. Just note, that a complete polyhedral complex must contain noncompact polyhedra.





Hence the fan above is not complete, but we can add the missing cone:



The object isComplete is a method function.