refactored is_opened photo sessions