Arranging if condition parameters in yoda notation