Is the blockstack daemon synchronizing with the blockchain?

def is_indexing(working_dir):
    """
    Is the blockstack daemon synchronizing with the blockchain?
    """
    indexing_path = get_indexing_lockfile(working_dir)
    if os.path.exists( indexing_path ):
        return True
    else:
        return False