the second argument is a relative path to the partial folders, usually `./partials`. The first argument is a relative path to a file. If the file is under a partial folder, then it returns true.