Autodesk interview question

Implement a function to identify if a given string is a valid email.