/**
 * This function determines if there are any overdue books in the library's collection.
 *
 * @param library A map representing the library's collection, where book titles are keys and the corresponding
 *                values are boolean flags indicating whether the book is overdue or not.
 * @return True if there are overdue books, False otherwise.
 */
fun overdueBooks(library: Map<String, Boolean>): Boolean {

    for ((_, isOverdue) in library) {
        if (isOverdue) {
            return true
        }
    }
    return false
}
/**
 * This function determines if there are any overdue books in the library's collection.
 *
 * @param library A map representing the library's collection, where book titles are keys and the corresponding
 *                values are boolean flags indicating whether the book is overdue or not.
 * @return True if there are overdue books, False otherwise.
 */
fun overdueBooks(library: Map<String, Boolean>): Boolean {
/**
 * This function determines if there are any overdue books in the library's collection.
 *
 * @param library A map representing the library's collection, where book titles are keys and the corresponding
 *                values are boolean flags indicating whether the book is overdue or not.
 * @return True if there are overdue books, False otherwise.
 */
fun overdueBooks(library: Map<String, Boolean>): Boolean {

    for ((_, isOverdue) in library) {
        if (isOverdue) {
            return true
        }
    }
    return false
}