Added logic to check for valid encounter

Logic will be commented out until system is ready to accept it
Merge pull request #89 from blackhydrogen/boilerplate

Added logic to check for valid encounter