Use has stage instead on isset

$this->deployer->stages is a private property.
Use $this->deployer->hasStage instead