TDD Cycle 8: Added a method that checks whether a match has been
accomplished