public function canRun(ExerciseType $exerciseType)
    {
        return in_array($exerciseType->getValue(), [ExerciseType::CGI, ExerciseType::CLI]);
    }
public function canRun(ExerciseType $exerciseType)
    {
        return in_array($exerciseType->getValue(), [ExerciseType::CGI, ExerciseType::CLI]);
    }
public function canRun ( ExerciseType $ exerciseType ) { return in_array ( $ exerciseType -> getValue ( ) , [ ExerciseType :: CGI , ExerciseType :: CLI ] ) ; }
This check can run on any exercise type.

@param ExerciseType $exerciseType
@return bool
This check can run on any exercise type .