Ckeck for define.amd