Check for Controller type using isinstance()