def extract_model_klass(value)
        model_klass = @model_wrapper.call(value)

        raise_extract_wrapper_error(model_klass) unless implements_model?(model_klass)

        model_klass
      end
Check if block returns an appropriate class and raise cast error if not

@param value [Object] raw data

@return [Class] which implements StoreModel::Model