added is_closed check for restaurants