Abstracted out checking if tileIndex is trail