isValid() method

Returns whether the location is valid.

Syntax

public boolean isValid ()

Returns

true if the location is valid, false otherwise