Added isFavorite() method. Closes #10