Why is it good practice to check if a set element is present before attempting to remove it?
To avoid getting an error in case the set doesn't contain the element.