class UserValidator implements Validator {

	public boolean isUserNameAsEmailValid(String username) {
		if (StringUtils.isBlank(username)) {
			return false;
		}
		
		Matcher matcher = EMAIL_PATTERN.matcher(username);
		return matcher.matches();
	}

}