code: def _patch_magic(self, buffer, orig):
          
          if ("Zip" in orig) or ('(JAR)' in orig):
              val = is_android_raw(buffer)
              if val == "APK":
                  return "Android application package file"
  
          return orig
docs: Overwrite some probably wrong detections by mime libraries
  
          :param buffer: bytes of the file to detect
          :param orig: guess by mime libary
          :return: corrected guess