Function isValidCoordinate

Type guard for coordinates KoL uses for mining