move is_valid method to gateway to handle other cards lacking is_valid method