implements #hasAnyTraits API method