def parent_status_update_needed(action):
    """Return if the status of the parent action needs to be updated

    Return value for update_parent_status key in action inputs
    """
    return len(action) > 0 and hasattr(action[0], 'inputs') and action[0
        ].inputs.get('update_parent_status', True)
