probably need to create a list of what attributes are expected to be present then simply check keys in self.__dict__ against that list