def Validate(self):
    if len(self.RECURSION_REGEX.findall(self._value)) > 1:
      raise ValueError("Only one ** is permitted per path: %s." %
                       self._value)
GlobExpression is valid.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/paths.py/GlobExpression.Validate