empty array is false, so we check explicitly