Added method hasPosition