def projects_all_attributes(self, attrs):
if self.attributes is None:<EOL><INDENT>return True<EOL><DEDENT>if not attrs:<EOL><INDENT>return False<EOL><DEDENT>for attr in attrs:<EOL><INDENT>if attr not in self.attributes:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Return True if the index projects all the attributes