#NEWLINE# def is_emergency_number( number , region_code ) : #NEWLINE# #INDENT# "Returns true if the given number exactly matches an emergency service\n    number in the given region.\n\n    This method takes into account cases where the number might contain\n    formatting, but doesn't allow additional digits to be appended.  Note that\n    is_emergency_number(number, region) implies\n    connects_to_emergency_number(number, region).\n\n    Arguments:\n    number -- The phone number to test.\n    region_code -- The region where the phone number is being dialed.\n\n    Returns if the number exactly matches an emergency services number in the\n    given region.\n    " #NEWLINE# return _matches_emergency_number_helper ( number , number , False )