Checks for constant DS definition to avoid notice about already declared constant.

Signed-off-by: Eric Fernance <beanie@purplebeanie.com>