def __init__(self, doc):
    '\n        Initialize from a database document.\n\n        :param dict doc: A database document.\n        '
    self._enabled = doc.get('enabled', False)
Initialize from a database document.

:param dict doc: A database document.
def __init__(self, doc):
    '\n        Initialize from a database document.\n\n        :param dict doc: A database document.\n        '
    self._enabled = doc.get('enabled', False)