I feel like this should set the flag to false regardless of it's value. Is there a reason for the ||= ?