def __init__(self, from_dictionary=None, template_model=None, is_array_scalar=False, **kwargs):
<EOL>if from_dictionary:<EOL><INDENT>self._init_from_dictionary(from_dictionary, template_model)<EOL><DEDENT>for name, value in iter(kwargs.items()):<EOL><INDENT>if name in self.__dict__:<EOL><INDENT>setattr(self, name, value)<EOL><DEDENT>else:<EOL><INDENT>raise KeyError(name)<EOL><DEDENT><DEDENT>
Creates an attribute filter object, optionally populates from a
dictionary of booleans