Pregunta de entrevista de Autodesk

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