created function check for isset and empty with return; echoed out string Variable is Set, empty or both