implementing is_in_path?, more issue #7