Recognize booleans; accept naedtuples