[API] get_tags_from_content_link move checking of empty list for optimization.