Use endswith
Use endswith


Former-commit-id: 6e584556566c1e17994c17129e32d4f7b6072d16 [formerly ab98456b7523a1c803f8b43257c395c2b33ca40f]
Former-commit-id: 7c2c37477060312dd5bd1ee0a4d5be53d6b7a257
jason-neal/eniric,jason-neal/eniric