Check if const is defined