@classmethod
    def is_invalid_marker(cls, text):
        try:
            cls.evaluate_marker(text)
        except SyntaxError as e:
            return cls.normalize_exception(e)
        return False
Validate text as a PEP 426 environment marker; return an exception
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/MarkerEvaluation.is_invalid_marker