XD-1135 use Transport enum in transport check