ensure that Agent @type contains AgentType
@type
in boolean logic: ensure that not (ALL the @type don't match AgentType)
ref: http://stackoverflow.com/a/17559497