any() checks for if any one bit is set (Bit zero is set ) so it wont fail 
Well in that case i will add a new variable to check flip()