def is_ordered(self,locator1,locator2):
return self.get_boolean("<STR_LIT>", [locator1,locator2,])<EOL>
Check if these two elements have same parent and are ordered siblings in the DOM. Two same elements will
not be considered ordered.

'locator1' is an element locator pointing to the first element
'locator2' is an element locator pointing to the second element