def need_geocoding(self):
need_geocoding = False<EOL>for attribute, component in self.required_address_components.items():<EOL><INDENT>if not getattr(self, attribute):<EOL><INDENT>need_geocoding = True<EOL>break  <EOL><DEDENT><DEDENT>return need_geocoding<EOL>
Returns True if any of the required address components is missing