(a) A landlord may prohibit a tenant from assigning a lease agreement or subleasing the leased premises if the prohibition is included in the lease agreement.
(b) If the landlord permits a tenant to assign a lease agreement or sublease the leased premises, the lease agreement must specify the conditions under which the tenant may enter into an assignment or sublease agreement.