check if PAM_TYPE is defined