renamed fucntions is_x*_type() to is_X*_type() to prevent name clash with EDg frontend