def METHOD_NAME(field_value):
    logger.debug("starting in version_validator: version data is %s" % field_value)
    if not isinstance(field_value, str):
        return True
    # empty input is fine
    if field_value is None or field_value == "":
        return True
    rules_version_list = field_value.split(",")
    is_list_of_versions = len(rules_version_list) > 1
    for rule_version in rules_version_list:
        try:
            op, operand = get_op(rule_version)
            if is_list_of_versions and op != operator.eq:
                raise jsonschema.ValidationError(
                    "Invalid input for %s .Relational Operators are not allowed" " when providing a list of versions." % field_value
                )
            version = MozillaVersion(operand)
        except jsonschema.ValidationError:
            raise
        except ValueError:
            raise jsonschema.ValidationError("ValueError. Couldn't parse version for %s. Invalid '%s' input value" % (field_value, field_value))
        except Exception:
            raise jsonschema.ValidationError("Invalid input for %s . No Operator or Match found." % field_value)
        # MozillaVersion doesn't error on empty strings
        if not hasattr(version, "version"):
            raise jsonschema.ValidationError("Couldn't parse the version for %s. No attribute 'version' was detected." % field_value)
    return True