def _check_ipv4_or_dhcp(self, user_input, report_func): return IPV4_OR_DHCP_PATTERN_WITH_ANCHORS.match(user_input) is not None
def _check_ipv4_or_dhcp(self, user_input, report_func): return IPV4_OR_DHCP_PATTERN_WITH_ANCHORS.match(user_input) is not None