<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def peek_all(self, model_class):
 """Return a list of models from the local cache. Args: model_class (:class:`cinder_data.model.CinderModel`):
 A subclass of :class:`cinder_data.model.CinderModel` of your chosen model. Returns: list: A list of instances of you model_class or and empty list. """

        if self._cache:
            return self._cache.get_records(model_class.__name__)
        else:
            return []