public function shouldDisplay()
    {
        return $this->gridFieldRequest->record->stagesDiffer('Stage', 'Live')
            && $this->gridFieldRequest->recordIsPublished()
            && $this->gridFieldRequest->record->canEdit();
    }
public function shouldDisplay()
    {
        return $this->gridFieldRequest->record->stagesDiffer('Stage', 'Live')
            && $this->gridFieldRequest->recordIsPublished()
            && $this->gridFieldRequest->record->canEdit();
    }
public function shouldDisplay ( ) { return $ this -> gridFieldRequest -> record -> stagesDiffer ( 'Stage' , 'Live' ) && $ this -> gridFieldRequest -> recordIsPublished ( ) && $ this -> gridFieldRequest -> record -> canEdit ( ) ; }
Determines if the button should display
@return boolean
Determines if the button should display