checking for interrupt and control endpoints