(self)
return len(self.tasks) != 0
Checks if the user has any tasks.
Checks if the user has any tasks.
Checks if the user has any tasks .
def _has_tasks(self):
        # type: () -> bool
        '''Checks if the user has any tasks.'''
        return len(self.tasks) != 0
def _has_tasks ( self ) : # type: () -> bool return len ( self . tasks ) != 0