Check if path is valid

This will help support use of this package alongside things like parsers. It allows you to do something like url('{{ plugin.my_background_image }}');