def getContainingActivities(act):
    """
    shows where an activity is used as an action in all levels
    input:
        activity
    returns:
        list of activities that contain an instance of given activity
        empty list if none"""
    returns = []
    calls = act.get_callBehaviorActionOfBehavior()
    for c in calls:
        returns.append(c.getActivity())
    return returns