Tests whether a bean has been associated with one ore more
of the listed tags. If the third parameter is TRUE this method
will return TRUE only if all tags that have been specified are indeed
associated with the given bean, otherwise FALSE.
If the third parameter is FALSE this
method will return TRUE if one of the tags matches, FALSE if none
match.