Angles of Curves not Compliant to a Rule

I have a list of curves, which have had their angles determined.

Within the list is a number of curves with angles that are not orthogonal and l am trying to push the items which are not compliant into a filter bool mask.

I am not sure how to manipulate the list l have within a code block to get the desired result.


Example, l wish to determine within the code block, which of the items are not 0, 90 or 180.

Call a modulo operation, which gets the remainder after division is performed. Then test of that is 0.

In a code block, type this: