StructureQ[item]⟹bool
returns True if item is a properly formated Structure.
Returns false for things that aren't complexes:
Return False if has bad motifs:
Can skip the check for motifs:
If CanonicalPairing is set to False, canonical pairing is allowed in the sequences:
Check that primed motifs are actually primes of their unprimed counterparts:
Check pairs can actually pair:
Check if a Structure is correctly formatted: