Checks if the given object is a shape. It determines this by checking if the object has the shift and moveTo methods
shift
moveTo
the object to check
a boolean indicating whether the object is a shape (intended to be used as a type guard)
Checks if the given object is a shape. It determines this by checking if the object has the
shift
andmoveTo
methods