def _is_number_geographical(numobj):
 num_type = number_type(numobj)
 return ((num_type == PhoneNumberType.FIXED_LINE) or (num_type == PhoneNumberType.FIXED_LINE_OR_MOBILE) or ((numobj.country_code in _GEO_MOBILE_COUNTRIES) and (num_type == PhoneNumberType.MOBILE)))

def _is_number_geographical ( numobj ) : num_type = number_type ( numobj ) return ( ( num_type == PhoneNumberType . FIXED_LINE ) or ( num_type == PhoneNumberType . FIXED_LINE_OR_MOBILE ) or ( ( numobj . country_code in _GEO_MOBILE_COUNTRIES ) and ( num_type == PhoneNumberType . MOBILE ) ) )
tests whether a phone number has a geographical association .