382. Unreasonable withholding of consent.

In all leases1, whether made before, on or after 1 January 1926, containing a covenant, condition or agreement against assigning, underletting, charging or parting with the possession of the demised premises or any part of them without licence or consent, such covenant, condition or agreement is deemed, notwithstanding any express provision to the contrary, to be subject to a proviso to the effect that such licence or consent is not to be unreasonably withheld2. The proviso so implied does not, however, preclude the right of the landlord3 to require payment of a reasonable sum for legal or other expenses