code: def can_render(self, partial_mimetype):
          
          for mime in self.render_map.keys():
              if mime == '*/*':
                  return True
              if partial_mimetype in mime:
                  return True
          return False
docs: Given a partial mimetype (such as 'json' or 'html'), return if the 
          view can render that type.