checkIfTrue

Checks if constructs such as if`` true are used. Using this type of if-statements reduces readability and can generally be left out. The full list of constructs of this type that is checked is: if`` true, ``if`` false, if`` 1 and if`` 0. Note that in some of these cases, MATLAB's Code Analyzer will display a warning message already.

Exemption tag: %@ok<IFTRU>