lib/Lime/Helper/Utils.php
public function isEmail($email) {

		if (\function_exists('idn_to_ascii')) {
			$email = @\idn_to_ascii($email);
		}

		return (bool) \filter_var($email, FILTER_VALIDATE_EMAIL);
	}
public function isEmail($email) {

		if (\function_exists('idn_to_ascii')) {
			$email = @\idn_to_ascii($email);
		}

		return (bool) \filter_var($email, FILTER_VALIDATE_EMAIL);
	}
public function isEmail ( $ email ) { if ( \ function_exists ( 'idn_to_ascii' ) ) { $ email = @ \ idn_to_ascii ( $ email ) ; } return ( bool ) \ filter_var ( $ email , FILTER_VALIDATE_EMAIL ) ; }
Check if string is valid email
@param  string  $email
@return boolean
Check if string is valid email