isValid function

bool isValid()

Implementation

bool isValid() {
  return isMobile() || isMacos() || kIsWeb;
}