/**
 * This function removes all key-value pairs from a dictionary where the value is false.
 *
 * @param dictionary The input dictionary
 * @return The modified dictionary without the key-value pairs where the value is false
 */
fun removeFalseValues(dictionary: Map<String, Boolean>): Map<String, Boolean> {

    // Create an empty dictionary to store the modified key-value pairs
    val modifiedDict = mutableMapOf<String, Boolean>()

    // Iterate over each key-value pair in the input dictionary
    for ((key, value) in dictionary) {
        // Check if the value is not false
        if (value != false) {
            // Add the key-value pair to the modified dictionary
            modifiedDict[key] = value
        }
    }

    return modifiedDict
}
/**
 * This function removes all key-value pairs from a dictionary where the value is false.
 *
 * @param dictionary The input dictionary
 * @return The modified dictionary without the key-value pairs where the value is false
 */
fun removeFalseValues(dictionary: Map<String, Boolean>): Map<String, Boolean> {
/**
 * This function removes all key-value pairs from a dictionary where the value is false.
 *
 * @param dictionary The input dictionary
 * @return The modified dictionary without the key-value pairs where the value is false
 */
fun removeFalseValues(dictionary: Map<String, Boolean>): Map<String, Boolean> {

    // Create an empty dictionary to store the modified key-value pairs
    val modifiedDict = mutableMapOf<String, Boolean>()

    // Iterate over each key-value pair in the input dictionary
    for ((key, value) in dictionary) {
        // Check if the value is not false
        if (value != false) {
            // Add the key-value pair to the modified dictionary
            modifiedDict[key] = value
        }
    }

    return modifiedDict
}