isCoordValid

fun isCoordValid(cx: Int, cy: Int): Boolean

Return

TRUE if grid-based coordinates are within layer bounds.