def get_name_from_tags(tags):
    """ Used in network and ec2 services to get the tag name if it exists """
    name = ''
    if tags is not None:
        for tag in tags:
            if tag.get('Key') == 'Name':
                name = tag.get('Value')
    return name