The operator of a hotel or boardinghouse has a lien upon, and may retain, all baggage and other property lawfully in the possession of a guest for all proper charges owed by the guest to the hotel or boardinghouse operator. However, this section does not apply when the baggage or other property is not owned by the guest and the hotel or boardinghouse operator has actual notice of this fact.