new function : PhoSegObject.endswith()
new function PhoSegObject.startswith()