/**
 * This function removes the given actor from the set of actors only if the actor is present in the set.
 */
fun removeActorFromSet(actor: String, actorsSet: MutableSet<String>): MutableSet<String> {

    if (actor in actorsSet) {
        actorsSet.remove(actor)
    }
    return actorsSet
}
/**
 * This function removes the given actor from the set of actors only if the actor is present in the set.
 */
fun removeActorFromSet(actor: String, actorsSet: MutableSet<String>): MutableSet<String> {
/**
 * This function removes the given actor from the set of actors only if the actor is present in the set.
 */
fun removeActorFromSet(actor: String, actorsSet: MutableSet<String>): MutableSet<String> {

    if (actor in actorsSet) {
        actorsSet.remove(actor)
    }
    return actorsSet
}