contract Utils {
    string constant public contract_version = "0.4.0";

    /// @notice Check if a contract exists
    /// @param contract_address The address to check whether a contract is
    /// deployed or not
    /// @return True if a contract exists, false otherwise
    function contractExists(address contract_address) public view returns (bool) {
        uint size;

        assembly {
            size := extcodesize(contract_address)
        }

        return size > 0;
    }
}
/// @title Utils
/// @notice Utils contract for various helpers used by the Raiden Network smart
/// contracts.
function contractExists(address contract_address) public view returns (bool) {
    uint size;

    assembly {
        size := extcodesize(contract_address)
    }

    return size > 0;
}

/// @notice Check if a contract exists
/// @param contract_address The address to check whether a contract is
/// deployed or not
/// @return True if a contract exists, false otherwise