def METHOD_NAME(self, shader_nodes):
    """
        Returns list of nodes belonging to specific shaders
    Args:
        shader_nodes: <list> of Shader groups
    Returns
        <list> node names
    """
    from maya import cmds
    for shader in shader_nodes:
        future = cmds.listHistory(shader, future=True)
        connections = cmds.listConnections(future,
                                           type='mesh')
        if connections:
            # Ensure unique entries only to optimize query and results
            connections = list(set(connections))
            return cmds.listRelatives(connections,
                                      shapes=True,
                                      fullPath=True) or []
    return []