func hasAsset(withUrl: String) -> Bool {
        for asset in assets where asset.url == withUrl {
            return true
        }
        return false