# Valid HK Phone Number
## Overview
In Hong Kong, a valid phone number has the format ```xxxx xxxx``` where ```x``` is a decimal digit (0-9).  For example:
## Task
Define two functions, ```isValidHKPhoneNumber``` and ```hasValidHKPhoneNumber```, that ```return```s whether a given string is a valid HK phone number and contains a valid HK phone number respectively (i.e. ```true/false``` values).
If in doubt please refer to the example tests.
import re

IS_VALID = re.compile(r'\d{4} \d{4}\Z')
HAS_VALID = re.compile(r'\d{4} \d{4}')


def is_valid_HK_phone_number(number):
    return bool(IS_VALID.match(number))


def has_valid_HK_phone_number(number):
    return bool(HAS_VALID.search(number))

import re

IS_VALID = re.compile(r'\d{4} \d{4}\Z')
HAS_VALID = re.compile(r'\d{4} \d{4}')


def is_valid_HK_phone_number(number):
    return bool(IS_VALID.match(number))


def has_valid_HK_phone_number(number):
    return bool(HAS_VALID.search(number))
