Sets the environment variable SAGEMAKER_BASE_DIR as
    ~/sagemaker_local/{timestamp}/opt/ml

    Returns:
        (bool): indicating whe

def _set_base_path_env():  # type: () -> None
    """Sets the environment variable SAGEMAKER_BASE_DIR as
    ~/sagemaker_local/{timestamp}/opt/ml

    Returns:
        (bool): indicating whe
    """

    local_config_dir = os.path.join(os.path.expanduser('~'), 'sagemaker_local', 'jobs',
                                    str(time.time()), 'opt', 'ml')

    logger.info('Setting environment variable SAGEMAKER_BASE_DIR as %s .' % local_config_dir)
    os.environ[BASE_PATH_ENV] = local_config_dir