Use this method to check whether a feature with a given tag exists in a list. The hasTag method returns
true if the list contains a model entity with the given tag.
As an example, this code checks if a block has the tag blk1, and if it does not exists, creates such a block: