pgn_read/core/game.py
def is_tag_roster_valid(self):
        """Return True if the game's tag roster is valid."""
        tags = self._tags
        for t in SEVEN_TAG_ROSTER:
            if t not in tags:
                # A mandatory tag is missing.
                return False
            if len(tags[t]) == 0:
                # Mandatory tags must have a non-null value.
                return False
        for t in SUPPLEMENTAL_TAG_ROSTER:
            if t in tags:
                if len(tags[t]) == 0:
                    return False
        return True
Return True if the game's tag roster is valid.
Return True if the game's tag roster is valid.
Return True if the game ' s tag roster is valid .
def is_tag_roster_valid(self):
        tags = self._tags
        for t in SEVEN_TAG_ROSTER:
            if t not in tags:
                return False
            if len(tags[t]) == 0:
                return False
        for t in SUPPLEMENTAL_TAG_ROSTER:
            if t in tags:
                if len(tags[t]) == 0:
                    return False
        return True
def is_tag_roster_valid ( self ) : tags = self . _tags for t in SEVEN_TAG_ROSTER : if t not in tags : return False if len ( tags [ t ] ) == 0 : return False for t in SUPPLEMENTAL_TAG_ROSTER : if t in tags : if len ( tags [ t ] ) == 0 : return False return True
Return True if the game's tag roster is valid.
Return True if the game ' s tag roster is valid .
"""Return True if the game's tag roster is valid.""" # A mandatory tag is missing. # Mandatory tags must have a non-null value.
self