Yes, that's what I was thinking about before implementing it like this.

I ended up using this check since I wasn't 100% sure if that's the only thing homebrew checks while tapping.