Autodesk Interview Question

How to code a function returning true if a given String is a valid email address.