move interceptors presence check to default-interceptors function