def check_same_code(self): ## Returns True if all elements have same Code return check_identical_attribute(self, "Code")
def check_same_currency(self): ## Returns True if all elements are same currency return check_identical_attribute(self, "Currency")