A simple if statement that references a database of organized tags, which had to be populated by parsing key terms out the descriptions of over 100 champions then hand reviewing and cross referencing with the lore team
IF the tag database already existed (assuming support functions were also present) then yeah it would be a simple IF GetTag("Yordle") then... Then you would just have to populate the database of tags and test.
BUT the devs have said before that their code is pretty rough right now, despite working very hard to clean it up.
As professional programmer, I would estimate this to be at least a week to implement, if not two with testing. That is what I mean when I say "it requires a lot of work to implement" The theory is a simple if statement. The pitfalls are awful.