Is the checkscript broken?

$ sudo su - homeassistant -c '/srv/homeassistant/bin/hass --script check_config' | more
INFO:homeassistant.util.package:Attempting install of colorlog==3.1.4
Testing configuration at /home/homeassistant/.homeassistant
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 207, in check
    res['components'] = check_ha_config_file(hass)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 340, in check_ha_config_file
    component = loader.get_component(hass, domain)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/dialogflow/__init__.py", line 88, in <module>
    config_entry_flow.register_webhook_flow(
AttributeError: module 'homeassistant.helpers.config_entry_flow' has no attribute 'register_webhook_flow'
Fatal error while loading config: module 'homeassistant.helpers.config_entry_flow' has no attribute 'register_webhook_flow'
Failed config
  General Errors:
    - module 'homeassistant.helpers.config_entry_flow' has no attribute 'register_webhook_flow'

Try:

sudo -u homeassistant -H -s
/srv/homeassistant/bin/hass --script check_config
exit