'Returns whether or not teams has been enabled for this course.
Currently, teams are considered enabled when at least one topic has been configured for the course.'

@property
def teams_enabled(self):

    if self.teams_configuration:
        return (len(self.teams_configuration.get('topics', [])) > 0)
    return False
