Trying to understand better how empty and isset work in functions.