def __load_settings_from_dict(self, settings):
errors = self.check_settings(settings)<EOL>if len(errors) == <NUM_LIT:0>:<EOL><INDENT>self.__errors = []<EOL>self.__sp = settings['<STR_LIT>']<EOL>self.__idp = settings.get('<STR_LIT>', {})<EOL>self.__strict = settings.get('<STR_LIT:strict>', False)<EOL>self.__debug = settings.get('<STR_LIT>', False)<EOL>self.__security = settings.get('<STR_LIT>', {})<EOL>self.__contacts = settings.get('<STR_LIT>', {})<EOL>self.__organization = settings.get('<STR_LIT>', {})<EOL>self.__add_default_values()<EOL>return True<EOL><DEDENT>self.__errors = errors<EOL>return False<EOL>
Loads settings info from a settings Dict

:param settings: SAML Toolkit Settings
:type settings: dict

:returns: True if the settings info is valid
:rtype: boolean