pysynth/wrappers/mml.py
def has_next(self):

        """
        Checks to see if another character is available.

        We do this by comparing our index to the length of the source string.

        :return: True for success, False for failure
        :rtype: bool
        """

        # Compare our index:

        if self.index < len(self.source) - 1:

            # Less than, let's return True

            return True

        # No good, return False

        return False

        Checks to see if another character is available.

        We do this by comparing our index to the length of the source string.

        :return: True for success, False for failure
        :rtype: bool
        
Checks to see if another character is available.
We do this by comparing our index to the length of the source string.
Checks to see if another character is available . We do this by comparing our index to the length of the source string .
def has_next(self):
        if self.index < len(self.source) - 1:
            return True
        return False
def has_next ( self ) : if self . index < len ( self . source ) - 1 : return True return False
Checks to see if another character is available.
Checks to see if another character is available .
"""
        Checks to see if another character is available.

        We do this by comparing our index to the length of the source string.

        :return: True for success, False for failure
        :rtype: bool
        """ # Compare our index: # Less than, let's return True # No good, return False
True for success, False for failure
True for success False for failure
bool
self