leetcodePython3/class/Tree_Action.py
def hasNext(self) -> bool:
        """
        @return whether we have a next smallest number
        """
        return len(self.array)>0

        @return whether we have a next smallest number
        
@return whether we have a next smallest number
@return whether we have a next smallest number
def hasNext(self) -> bool:
        return len(self.array)>0
def hasNext ( self ) -> bool : return len ( self . array ) > 0
@return whether we have a next smallest number
@return whether we have a next smallest number
"""
        @return whether we have a next smallest number
        """
self