Add .exists() method

new pull request. Still don't understand squash command.