code: def is_json(self) -> bool:
          
          content_type = self.mimetype
          if content_type == 'application/json' or (
                  content_type.startswith('application/') and content_type.endswith('+json')
          ):
              return True
          else:
              return False
docs: Returns True if the content_type is json like.