<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def contracts_version_expects_deposit_limits(contracts_version: Optional[str]) -> bool: """ Answers whether TokenNetworkRegistry of the contracts_vesion needs deposit limits """

    if contracts_version is None:
        return True
    if contracts_version == '0.3._':
        return False
    return compare(contracts_version, '0.9.0') > -1