Just use empty instead of is_null and empty