def _is_mobile(ntype):
 return ((ntype == PhoneNumberType.MOBILE) or (ntype == PhoneNumberType.FIXED_LINE_OR_MOBILE) or (ntype == PhoneNumberType.PAGER))

def _is_mobile ( ntype ) : return ( ( ntype == PhoneNumberType . MOBILE ) or ( ntype == PhoneNumberType . FIXED_LINE_OR_MOBILE ) or ( ntype == PhoneNumberType . PAGER ) )
checks if the supplied number type supports carrier lookup .