def _moc_numpy_array_object_lambda(x):
    """
    drop in replacement for lambda object types which seem not
    any more be accepted by pickle for Python 3.8 and onward.
    see fix_lambda_obj_type function below

    Parameters
    ----------
    x (list):
        itemlist from which to return first element

    Returns
    -------
    first element of provided list
    """
    return x[0]