code: def useful_mimetype(text):
      
      if text is None:
          return False
      mimetype = normalize_mimetype(text)
      return mimetype not in [DEFAULT, PLAIN, None]
docs: Check to see if the given mime type is a MIME type
      which is useful in terms of how to treat this file.