def has_field(self, fieldname):
		return True if self.get_field(fieldname) else False
Calculates the grid distance, which will be used during the training steps.
dataset/ETHPy150Open frappe/frappe/frappe/model/meta.py/Meta.has_field--crossover with--dataset/ETHPy150Open sevamoo/SOMPY/sompy.py/SOM.calculate_map_dist