Return True if Resource `path` exists in the codebase memory cache.
(self, path)
| 840 | return use_disk_cache |
| 841 | |
| 842 | def _exists_in_memory(self, path): |
| 843 | """ |
| 844 | Return True if Resource `path` exists in the codebase memory cache. |
| 845 | """ |
| 846 | path = clean_path(path) |
| 847 | return isinstance(self.resources_by_path.get(path), Resource) |
| 848 | |
| 849 | def _exists_on_disk(self, path): |
| 850 | """ |