def get_instance_name(inst):
    """Get the name of an instance, or None if it doesn't have one.

    The name is the value for the metadata tag "Name," if it exists.
    """
    if inst.get('Tags'):
        for tag in inst['Tags']:
            if tag['Key'] == 'Name':
                return tag['Value']
    return None