Check for an already existing define function