/**
 * This function checks if an electrician has completed all the necessary tasks.
 *
 * @param tasksDone a list of tasks the electrician has completed
 * @param tasksNeeded a list of tasks required to be completed
 * @return true if all the tasks are done, false if any of the tasks is missing
 */
fun checkElectricianTask(tasksDone: List<String>, tasksNeeded: List<String>): Boolean {

    for (task in tasksNeeded) {
        if (task !in tasksDone) {
            return false
        }
    }
    return true
}
/**
 * This function checks if an electrician has completed all the necessary tasks.
 *
 * @param tasksDone a list of tasks the electrician has completed
 * @param tasksNeeded a list of tasks required to be completed
 * @return true if all the tasks are done, false if any of the tasks is missing
 */
fun checkElectricianTask(tasksDone: List<String>, tasksNeeded: List<String>): Boolean {
/**
 * This function checks if an electrician has completed all the necessary tasks.
 *
 * @param tasksDone a list of tasks the electrician has completed
 * @param tasksNeeded a list of tasks required to be completed
 * @return true if all the tasks are done, false if any of the tasks is missing
 */
fun checkElectricianTask(tasksDone: List<String>, tasksNeeded: List<String>): Boolean {

    for (task in tasksNeeded) {
        if (task !in tasksDone) {
            return false
        }
    }
    return true
}