nope, its trained as a neural network. Nobody ever sits down and programs in 'how to handle an intersection with a bike lane' other than putting that sort of driving experience into its training data. It may have modules designed for general scenarios (i.e. one module is great at freeway driving, another is great at intersections etc) but still trained by experience.