Test Pure Properties of Petri net
p = ispure(forward,backward)
This function is used to test pure properties of Petri net. If Petri net is pure then no places become input and output of one or more transitions. If Petri net is not pure then there are one or more places that become input and output of some transitions.