public boolean isNumberGeographical(PhoneNumberType numberType,int countryCallingCode){
  return numberType == PhoneNumberType.FIXED_LINE || numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE || (GEO_MOBILE_COUNTRIES.contains(countryCallingCode) && numberType == PhoneNumberType.MOBILE);
}

public boolean isNumberGeographical ( PhoneNumberType numberType , int countryCallingCode ) { return numberType == PhoneNumberType . FIXED_LINE || numberType == PhoneNumberType . FIXED_LINE_OR_MOBILE || ( GEO_MOBILE_COUNTRIES . contains ( countryCallingCode ) && numberType == PhoneNumberType . MOBILE ) ; }
tests whether a phone number has a geographical association , as represented by its type and the country it belongs to . this version of isnumbergeographical exists since calculating the phone number type is expensive ; if we have already done this , we don ' t want to do it again .
