def can_render(self, partial_mimetype):
        """
        Given a partial mimetype (such as 'json' or 'html'), return if the 
        view can render that type.
        """
        for mime in self.render_map.keys():
            if mime == '*/*':
                return True
            if mime in partial_mimetype:
                return True
        return False
dataset/ETHPy150Open priestc/giotto/giotto/views/__init__.py/GiottoView.can_render/swapped operands of `in`