Use parsed pin mode slice to check pin type