No need - if it had some comments it would be easier, but I'm almost certain a digitalRead is about all it needs.