Merging collapsible if statements increases the code's readability.
if
if condition1 then if condition2 then -- code end if; end if;
if condition1 and condition2 then -- code end if;