'verify an update is needed'

def needs_update(self):

    if (self.storage_class.get_parameters() != self.config.parameters):
        return True
    for (anno_key, anno_value) in self.storage_class.get_annotations().items():
        if (('is-default-class' in anno_key) and (anno_value != self.config.default_storage_class)):
            return True
    return False
