private static bool IsTrue(Field b) { return (!b.IsNull && b.Type is BooleanType && b.Value.Equals(SqlBoolean.True)); }