Return ``True`` if there is a resource named *name* in the package, Otherwise returns ``False``.
(anchor, *path_names)
| 38 | |
| 39 | |
| 40 | def is_resource(anchor, *path_names): |
| 41 | """Return ``True`` if there is a resource named *name* in the package, |
| 42 | |
| 43 | Otherwise returns ``False``. |
| 44 | """ |
| 45 | return _get_resource(anchor, path_names).is_file() |
| 46 | |
| 47 | |
| 48 | def contents(anchor, *path_names): |
searching dependent graphs…