def is_enabled(self):
        return is_haskell_source(self.view) or self.view.file_name() is not None and file_types.has(self.view.file_name()) and file_types.shown(self.view.file_name())
dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py/SublimeHaskellHideAllTypes.is_enabled/operator `and` -> `or`