def is_field(self, name):
        """return True if name is a valid metadata key"""
        name = self._convert_name(name)
        return name in _ALL_FIELDS
return True if name is a valid metadata key
product/gradle-plugin/src/main/python/pip/_vendor/distlib/metadata.py