What if p is empty? Could we use TextUtils.isEmpty(p) that checks both null and empty?