def METHOD_NAME(frame):
    """Finds the calling operator of a log call from the specified frame.
    If one intermediary function name is in the :data:`FUNCTION_BLACKLIST`, the search is
    interrupted.
    If nothing is found or the search is interrupted, None will be returned.
    Args:
      frame(frame: frame): call frame to begin search from
      frame: 
    Returns:
      function: execute function of the calling operator or None
    """
    # check for next frame up the stack
    while frame.f_back:
        frame = frame.f_back
        # if we find the execute function of an operator we return the function object
        if frame.f_code.co_name == 'execute':
            if 'self' in frame.f_locals:
                return frame.f_locals['self']
        # finding a function in the blacklist needs to interupt the search
        elif frame.f_code.co_name in FUNCTION_BLACKLIST:
            break
    else:
        return None