public static Boolean isValid(long number) {
		//initialize variables
		int interim_value = 0;
		//performs different checks to determine validity of a credit card number
		if(getSize(number) < 13 || getSize(number) > 16)
			interim_value = 0;
		else if(prefixMatched(number) == false)
			interim_value = 0;
		else if((sumOfDoubleEvenPlace(number) + sumOfOddPlace(number)) % 10 != 0)
			interim_value = 0;
		else
			interim_value = 1;
		//ternary to return appropriate boolean value
		boolean return_value = (interim_value == 0) ? false: true;
		
		return return_value;
	}