package net.dankito.fints.extensions fun Collection.containsAny(otherCollection: Collection): Boolean { for (otherItem in otherCollection) { if (this.contains(otherItem)) { return true } } return false }