Check if constant already defined.