Moved functions into Simulation
Pin: Added hasIoState()