def is_dynamic(self):
        ''' Return true if the route contains dynamic parts '''
        if not self._static:
            for token, value in self.tokens():
                if token != 'TXT':
                    return True
        self._static = True
        return False
def is_dynamic ( self ) : if not self . _static : for token , value in self . tokens ( ) : if token != 'TXT' : return True self . _static = True return False
Return true if the route contains dynamic parts