@property
    def ipykernel(self):
        return self.kernel_name in {'python', 'python2', 'python3'}

    # Protected traits
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/manager.py/KernelManager.ipykernel/original