def is_empty_tensor(tensor):
    """ Determines if the tensor is empty """
    if tensor is None:
        return True
    var_name = tensor.name.split('/')[-1]
    return bool(var_name.split('_')[0] == 'empty')
