Check or find the closest of parent by class