checkIncidenceSolution(s, P)
For each pair $(l,F)$ in the Schubert problem $P$, where $l$ is a Schubert condition given as a partition, and $F$ is a flag given as an $n \times n$ matrix, the function verifies if the matrix $s$ satisfies the incidence conditions imposed by $l$ with respect to the flag $F$, for each of the pairs in $P$, by computing the corresponding minor conditions.
This function was created for testing purposes and will be deleted later as it may not be numerically stable.
The object checkIncidenceSolution is a method function.