Created a method can_discard() for checking whether a card can be dismissed. Created a unit test for method, that cannot run because pygame.