@property
    def is_websocket_enabled(self):
        '''Reffers if channels is installed'''
        try:
            import leonardo_channels
        except __HOLE__:
            return False
        else:
            return True
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/conf/base.py/LeonardoConfig.is_websocket_enabled