This...should be...
I'd disagree with that. It's not a good idea to use _pin in the name of a variable that holds a state.