jodd-mail/src/main/java/jodd/mail/EmailFilter.java
public EmailFilter flag(final Flag flag, final boolean value) {
		final Flags flags = new Flags();
		flags.add(flag);
		return flags(flags, value);
	}
public EmailFilter flag(final Flag flag, final boolean value) {
		final Flags flags = new Flags();
		flags.add(flag);
		return flags(flags, value);
	}
public EmailFilter flag ( final Flag flag , final boolean value ) { final Flags flags = new Flags ( ) ; flags . add ( flag ) ; return flags ( flags , value ) ; }
Defines filter for single flag.

@param flag  The flag to filter on.
@param value The {@link Flag} setting to check for.
@return this
Defines filter for single flag .