Returns the value for a field, but if the field doesn't exist will return default instead

def get_if_present(self, name, default=None):
        """
        Returns the value for a field, but if the field doesn't exist will return default instead
        """
        if not self.processed_data:
            raise exceptions.FormNotProcessed('The form data has not been processed yet')

        if name in self.field_dict:
            return self[name]

        return default