Check that 'is_nullable' is defined

In some (probably rare) cases, 'is_nullable' may not be defined on the
column info. Check that it is defined before performing comparisons to
avoid warnings like this:

Use of uninitialized value in numeric eq (==)