(a) A landlord of a residential dwelling unit, as defined in Section 1940, or his or her agent, may prohibit the smoking of a cigarette, as defined in Section 104556 of the Health and Safety Code, or other tobacco product on the property or in any building or portion of the building, including any dwelling unit, other interior or exterior area, or the premises on which it is located, in accordance with this article.