def is_newer_version_available():

    def versiontuple(v):
        return tuple(map(int, v.split('.')))
    current_version = __version__.__version__
    latest_version = _get_latest_version('insomniac')
    if ((latest_version is not None) and (versiontuple(latest_version) > versiontuple(current_version))):
        return (True, latest_version)
    return (False, None)
def is_newer_version_available():

    def versiontuple(v):
        return tuple(map(int, v.split('.')))
    current_version = __version__.__version__
    latest_version = _get_latest_version('insomniac')
    if ((latest_version is not None) and (versiontuple(latest_version) > versiontuple(current_version))):
        return (True, latest_version)
    return (False, None)