additional logic for CanExecute() PipeDeactivationCommand
Merge pull request #409 from olga-jane/sidorov_PipeDeactivation

additional logic for CanExecute() PipeDeactivationCommand