(func)
return func
In case the target func doesn't have it's `im_func` attr set.

    :param func:
    :return:
In case the target func doesn't have it's `im_func` attr set.
In case the target func doesn t have it s im_func attr set .
def _its_a_func(func):
    """
    In case the target func doesn't have it's `im_func` attr set.

    :param func:
    :return:
    """
    if func is not None:
        func.im_func = True
    return func
def _its_a_func ( func ) : if func is not None : func . im_func = True return func