Add is subclass of BaseController check