add helper method 'HasModifier' for TagCodec