Crypto Validator
CryptoValidator
that has a static method named isValid
that takes in a cryptocurrency object with a name
property and a symbol
property, and returns true if the name
and symbol
are valid, false otherwise. Valid names are 'Bitcoin', 'Ethereum', and 'Litecoin'. Valid symbols are 'BTC', 'ETH', and 'LTC'.