def METHOD_NAME(position, child):
    '''
    :param int position: the position to be validated.
    :param child: a child to be validated.
    :type child: :py:class:`psyclone.psyir.nodes.Node`
    :return: whether the given child and position are valid for this node.
    :rtype: bool
    '''
    # pylint: disable=unused-argument
    return isinstance(child, (Container, Routine, CodeBlock))