Since the if block returns, conventional coding style is to not use an else if statement for clarity.  The code is accurate though.