compare null to non-null or not-empty-string