def __init__(self, data = None):
if data is None:<EOL><INDENT>self._settings = {}<EOL><DEDENT>else:<EOL><INDENT>self._settings = dict(data)<EOL><DEDENT>
Create settings, optionally initialized with `data`.

        :Parameters:
            - `data`: initial data
        :Types:
            - `data`: any mapping, including `XMPPSettings`