def geometry_field(self):
        # Use the `get_field_by_name` on the model's options so that we
        # get the correct field instance if there's model inheritance.
        opts = self.model._meta
        fld, model, direct, m2m = opts.get_field_by_name(self.geom_field)
        return fld
Checks whether the current method should be given a doc string and
dataset/ETHPy150Open adieu/django-nonrel/django/contrib/gis/utils/layermapping.py/LayerMapping.geometry_field--crossover with--dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/Method.__generate_doc_string