Correct is_defined to isset