This version of Unity is unsupported.

Lightmapping.isRunning

public static bool isRunning;

Description

Returns true when the bake job is running, false otherwise (Read Only).