def IsValidForDescriptor(self, message_descriptor):
    for path in self.paths:
      if not _IsValidPath(message_descriptor, path):
        return False
    return True
Checks whether the FieldMask is valid for Message Descriptor.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/internal/well_known_types.py/FieldMask.IsValidForDescriptor