Determines whether a valid travel card is associated with the person or not. That is, the person must have a travel card and the card’s isValid method must return true.
Determines whether a valid travel card is associated with the person or not. That is, the person must have a travel card and the card’s isValid method must return true.
Determines whether the person is associated with a travel card or not. As long as the person has a card, the method returns true even if the card is invalid.
Determines whether the person is associated with a travel card or not. As long as the person has a card, the method returns true even if the card is invalid.