Internal util to get the type of the GLC class. The pickle file stores
    this name so that it knows how to construct the object on unpickling.

    Parameters
    ----------
    obj_class    : Class which has to be categorized.

    Returns
    ----------
    A class type for the pickle file to save.

def _get_gl_class_type(obj_class):
    """
    Internal util to get the type of the GLC class. The pickle file stores
    this name so that it knows how to construct the object on unpickling.

    Parameters
    ----------
    obj_class    : Class which has to be categorized.

    Returns
    ----------
    A class type for the pickle file to save.

    """

    if obj_class == _SFrame:
        return "SFrame"
    elif obj_class == _SGraph:
        return "SGraph"
    elif obj_class == _SArray:
        return "SArray"
    elif _is_not_pickle_safe_gl_model_class(obj_class):
        return "Model"
    else:
        return None