def accept_stroke(self, count=1):
        '''Returns True if this container can accept `count` new strokes'''
        if not self.max_strokes:
            return True
        return len(self._strokes) + count <= self.max_strokes
dataset/ETHPy150Open kivy/kivy/kivy/uix/gesturesurface.py/GestureContainer.accept_stroke/original