'Check whether this path starts with sequence
@param sequence: sequence of node IDs (or path)'

def startswith(self, sequence):

    sequence = S3MultiPath.Path(sequence).nodes
    if (self.nodes[0:len(sequence)] == sequence):
        return True
    else:
        return False
