def set_options(self, options):
for key, val in options.items():<EOL><INDENT>key = key.lstrip('<STR_LIT:_>')<EOL>if hasattr(self, key):<EOL><INDENT>setattr(self, key, val)<EOL><DEDENT><DEDENT>
Sets the given options as instance attributes (only
        if they are known).

        :parameters:
            options : Dict
                All known instance attributes and more if the childclass
                has defined them before this call.

        :rtype: None