function isInstanceOf(wat, base) {
  try {
    return wat instanceof base;
  } catch (_e) {
    return false;
  }
}
Checks whether given value's type is a Vue ViewModel.

@param wat A value to be checked.
@returns A boolean representing the result.