src/includes/classes/Core/Utils/Version.php
public function isValid(string $version): bool
    {
        if (!$version) {
            return false; // Nope.
        }
        return (bool) preg_match($this::VERSION_REGEX_VALID, $version);
    }
public function isValid(string $version): bool
    {
        if (!$version) {
            return false; // Nope.
        }
        return (bool) preg_match($this::VERSION_REGEX_VALID, $version);
    }
Is it a valid version?

@since 150424 Initial release.

@param string $version Input version.

@return bool `TRUE` if valid.