provide Bool attribute to check for parents

replaces #144, and closes #140