I'm new to programming and I'm currently learning PHP. I came across a situation where I need to check if a variable is undefined in PHP. I have a variable called $name, and I want to determine if it has been set or not. How can I do that? Are there any specific functions or methods in PHP that can help me with this? Any help or guidance would be much appreciated!