canClose abstract method Null safety

bool canClose()

Can close the current location.

Should return true if the current location is not the initial.

Implementation

bool canClose();