provide Bool attribute to check for parents

closes #140.
I would add some interpretation for the case where ``hasparent[i] == false``. I.e., this means that the vertex isn't reachable from any source.