#include "expression_model_handle.h"

namespace Shared {

ExpressionModelHandle::ExpressionModelHandle(Ion::Storage::Record record) :
  Ion::Storage::Record(record)
{
}

bool ExpressionModelHandle::isDefined() {
  return !isEmpty();
}

bool ExpressionModelHandle::isEmpty() {
  return value().size <= metaDataSize();
}

}
