def is_filter_at_key(self, key):
if key in self:<EOL><INDENT>attribute_status = getattr(self, key)<EOL>if isinstance(attribute_status, self.__class__):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
return True if attribute is a sub filter