private function isStashEnabled(ContextInterface $context) { return $this->grumPHP->ignoreUnstagedChanges() && $context instanceof GitPreCommitContext; }