Merge pull request #18 from simia-tech/master

extended Has function to work with paths