def METHOD_NAME(location):
    """Get APK type."""
    with ZipFile(location, 'r') as zf:
        for fil in zf.namelist():
            if fil.endswith('.apk'):
                return 'apks'
    return 'apk'