Check that __doc__ is not none