'Check if a child storage group is a member of a parent group.
:param array: the array serial number
:param child_name: the child sg name
:param parent_name: the parent sg name
:returns: bool'

def is_child_sg_in_parent_sg(self, array, child_name, parent_name):

    parent_sg = self.get_storage_group(array, parent_name)
    if (parent_sg and parent_sg.get('child_storage_group')):
        child_sg_list = parent_sg['child_storage_group']
        if (child_name in child_sg_list):
            return True
    return False
