better way to check if package is a valid lv2 bundle